1 | // RUN: rm -rf %t |
---|---|
2 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs -x objective-c-header %S/Inputs/typo.h -emit-pch -o %t.pch |
3 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs -include-pch %t.pch %s -verify |
4 | |
5 | void test() { |
6 | [Nsstring alloc]; // expected-error {{unknown receiver 'Nsstring'; did you mean 'NSString'}} |
7 | // expected-note@typo.h:* {{here}} |
8 | } |
9 |