]> granicus.if.org Git - clang/commitdiff
Add cocoa-pth.c test case, this got lost in shuffling PTH test cases.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 1 Apr 2009 15:36:37 +0000 (15:36 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 1 Apr 2009 15:36:37 +0000 (15:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68205 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaObjC/cocoa-pth.m [new file with mode: 0644]

diff --git a/test/SemaObjC/cocoa-pth.m b/test/SemaObjC/cocoa-pth.m
new file mode 100644 (file)
index 0000000..24b0579
--- /dev/null
@@ -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
+