Remove building with NOCRYPTO option
[minix.git] / external / bsd / llvm / dist / clang / test / Index / pch-with-module.m
blobe839c811dab69b38ce46f4f940b94e7a2edaf399
1 // RUN: rm -rf %t.cache
2 // RUN: c-index-test -write-pch %t.h.pch %s -target x86_64-apple-macosx10.7 -fobjc-arc -fmodules-cache-path=%t.cache -fmodules -F %S/../Modules/Inputs -Xclang -fdisable-module-hash
3 // RUN: %clang -fsyntax-only %s -target x86_64-apple-macosx10.7 -include %t.h -fobjc-arc -fmodules-cache-path=%t.cache -fmodules -F %S/../Modules/Inputs \
4 // RUN:      -Xclang -fdisable-module-hash -Xclang -detailed-preprocessing-record -Xclang -verify
6 // expected-no-diagnostics
8 #ifndef PCH_HEADER
9 #define PCH_HEADER
11 #include <Module/Module.h>
13 @interface Module(PCHCat)
14 -(id)PCH_meth;
15 @end
17 #else
19 void foo(Module *m) {
20   [m PCH_meth];
23 #endif