summaryrefslogtreecommitdiffstats
path: root/test/Sema/carbon.c
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-04-01 15:28:20 +0000
committerTed Kremenek <kremenek@apple.com>2009-04-01 15:28:20 +0000
commit8d69a5768dd13d9ada1c35802c4ad7f3987b99ec (patch)
treedfd245dc6c0292346e2756279dda4ad65f2c4e85 /test/Sema/carbon.c
parent8d4141f83d9de379547cf05bd75d4c6cf894b189 (diff)
Re-enable PTH testing for cocoa.h and carbon.h. This tests that PTH works on
real-world header files and these tests have caught serious bugs in the past. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68204 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/carbon.c')
-rw-r--r--test/Sema/carbon.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Sema/carbon.c b/test/Sema/carbon.c
index 983a000b2c..885a29cdf3 100644
--- a/test/Sema/carbon.c
+++ b/test/Sema/carbon.c
@@ -1,4 +1,8 @@
-// RUN: clang-cc %s -fsyntax-only -print-stats
+// 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
#ifdef __APPLE__
#include <Carbon/Carbon.h>
#endif