aboutsummaryrefslogtreecommitdiff
path: root/test/PCH/typo.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/typo.m')
-rw-r--r--test/PCH/typo.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/PCH/typo.m b/test/PCH/typo.m
index c6f0275bc2..876b9438d1 100644
--- a/test/PCH/typo.m
+++ b/test/PCH/typo.m
@@ -1,6 +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
-// In header: expected-note{{declared here}}
+
void f() {
[NSstring alloc]; // expected-error{{unknown receiver 'NSstring'; did you mean 'NSString'?}}
+ // expected-note@Inputs/typo.h:3{{declared here}}
}