aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/carbon-pth.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/carbon-pth.c')
-rw-r--r--test/Sema/carbon-pth.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Sema/carbon-pth.c b/test/Sema/carbon-pth.c
new file mode 100644
index 000000000000..c956d2a7a1c8
--- /dev/null
+++ b/test/Sema/carbon-pth.c
@@ -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 <Carbon/Carbon.h>
+#endif
+