aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-04-01 15:36:37 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-04-01 15:36:37 +0000
commitcb5a955afb6dca9ad5f9fbdfa97789a93ba10660 (patch)
tree82bc53dc523d9e86f8cfb7e1ad2368e7e56703e7
parent8d69a5768dd13d9ada1c35802c4ad7f3987b99ec (diff)
Add cocoa-pth.c test case, this got lost in shuffling PTH test cases.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68205 91177308-0d34-0410-b5e6-96231b3b80d8
-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 0000000000..24b0579a24
--- /dev/null
+++ b/test/SemaObjC/cocoa-pth.m
@@ -0,0 +1,7 @@
+// RUN: clang-cc -emit-pth -o %t %s &&
+// RUN: clang-cc -token-cache %t %s &&
+// RUN: clang-cc -token-cache %t %s -E %s -o /dev/null
+#ifdef __APPLE__
+#include <Cocoa/Cocoa.h>
+#endif
+