]> granicus.if.org Git - clang/commitdiff
Fix test on cygwin (where va_list expands to a different type)
authorJean-Daniel Dupas <devlists@shadowlab.org>
Wed, 25 Jan 2012 01:02:26 +0000 (01:02 +0000)
committerJean-Daniel Dupas <devlists@shadowlab.org>
Wed, 25 Jan 2012 01:02:26 +0000 (01:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148892 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaObjC/builtin_objc_nslog.m

index ac3305004038c5d7152241caeed09bf57b4ddb66..7c84c5fe234b291418ae33cb512a965ff9afcc4b 100644 (file)
@@ -8,6 +8,6 @@ void f1(id arg) {
 }
 
 void f2(id str, va_list args) {
-  NSLogv(@"%@", args); // expected-warning {{implicitly declaring C library function 'NSLogv' with type 'void (id, __va_list_tag *)'}} \
+  NSLogv(@"%@", args); // expected-warning {{implicitly declaring C library function 'NSLogv' with type }} \
   // expected-note {{please include the header <Foundation/NSObjCRuntime.h> or explicitly provide a declaration for 'NSLogv'}}
 }