Ben Langmuir | 537c5b5 | 2016-05-04 00:53:13 +0000 | [diff] [blame] | 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 | } |