aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Daniel Dupas <devlists@shadowlab.org>2012-01-25 01:02:26 +0000
committerJean-Daniel Dupas <devlists@shadowlab.org>2012-01-25 01:02:26 +0000
commitdea8ba26a55de7e3d9666be3acce3963f7fb71d0 (patch)
tree048de19ef6d0230c18bbbf749a9ea095db5fcd25
parent0d266d623452f09d06973528217390d762a8f3fa (diff)
Fix test on cygwin (where va_list expands to a different type)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148892 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/SemaObjC/builtin_objc_nslog.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/builtin_objc_nslog.m b/test/SemaObjC/builtin_objc_nslog.m
index ac33050040..7c84c5fe23 100644
--- a/test/SemaObjC/builtin_objc_nslog.m
+++ b/test/SemaObjC/builtin_objc_nslog.m
@@ -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'}}
}