]> granicus.if.org Git - clang/commitdiff
Split PTH tests from carbon.c into separate test.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 1 Apr 2009 18:25:32 +0000 (18:25 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 1 Apr 2009 18:25:32 +0000 (18:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68223 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/carbon-pth.c [new file with mode: 0644]
test/Sema/carbon.c

diff --git a/test/Sema/carbon-pth.c b/test/Sema/carbon-pth.c
new file mode 100644 (file)
index 0000000..ebc8840
--- /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 <Carbon/Carbon.h>
+#endif
+
index 885a29cdf3eff9eb7f1b81da17e20ed0f6775150..8e6837f12562b9cd89110c0b7627974a3119e7b9 100644 (file)
@@ -1,8 +1,5 @@
 // RUN: clang-cc %s -print-stats &&
-// RUN: clang-cc %s -disable-free &&
-// 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
+// RUN: clang-cc %s -disable-free
 #ifdef __APPLE__
 #include <Carbon/Carbon.h>
 #endif