Fix test on cygwin (where va_list expands to a different type)

llvm-svn: 148892
This commit is contained in:
Jean-Daniel Dupas 2012-01-25 01:02:26 +00:00
parent 70f449bf41
commit 9aa95b16e1
1 changed files with 1 additions and 1 deletions

View 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'}}
}