summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/cocoa-pth.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaObjC/cocoa-pth.m')
-rw-r--r--test/SemaObjC/cocoa-pth.m7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/SemaObjC/cocoa-pth.m b/test/SemaObjC/cocoa-pth.m
new file mode 100644
index 0000000..dc806df
--- /dev/null
+++ b/test/SemaObjC/cocoa-pth.m
@@ -0,0 +1,7 @@
+// RUN: clang-cc -mcpu=pentium4 -emit-pth -o %t %s &&
+// RUN: clang-cc -mcpu=pentium4 -token-cache %t %s &&
+// RUN: clang-cc -mcpu=pentium4 -token-cache %t %s -E %s -o /dev/null
+#ifdef __APPLE__
+#include <Cocoa/Cocoa.h>
+#endif
+
OpenPOWER on IntegriCloud