summaryrefslogtreecommitdiffstats
path: root/test/Sema/carbon.c
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-01-08 23:42:56 +0000
committerTed Kremenek <kremenek@apple.com>2009-01-08 23:42:56 +0000
commit6b614879e21596184fc0af246243d1cce880e1f7 (patch)
tree2448990015b3ebf35aac7ac9749900b4fc11a0f2 /test/Sema/carbon.c
parente547757a256efeee887c96cfa495f3ca3dd55605 (diff)
Enhance -fsyntax-only test of Carbon.h to also include testing for PTH.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/carbon.c')
-rw-r--r--test/Sema/carbon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Sema/carbon.c b/test/Sema/carbon.c
index 9c9c378040..94a707557f 100644
--- a/test/Sema/carbon.c
+++ b/test/Sema/carbon.c
@@ -1,4 +1,5 @@
-// RUN: clang %s -fsyntax-only -print-stats
+// RUN: clang %s -fsyntax-only -print-stats &&
+// RUN: clang -x c-header -o %t %s && clang -token-cache %t %s
#ifdef __APPLE__
#include <Carbon/Carbon.h>
#endif