diff options
Diffstat (limited to 'clang/test/PCH/typo.m')
-rw-r--r-- | clang/test/PCH/typo.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/PCH/typo.m b/clang/test/PCH/typo.m index 876b9438d1b7..857ae543f073 100644 --- a/clang/test/PCH/typo.m +++ b/clang/test/PCH/typo.m @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -x objective-c-header -emit-pch -o %t %S/Inputs/typo.h // RUN: %clang_cc1 -include-pch %t -verify %s -void f() { +void f(void) { [NSstring alloc]; // expected-error{{unknown receiver 'NSstring'; did you mean 'NSString'?}} // expected-note@Inputs/typo.h:3{{declared here}} } |