summaryrefslogtreecommitdiffstats
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
commit510b4da49d29c9ff58ab1ee71f1626f63812ef78 (patch)
treee2e7cdc73008f947f19b175fa73fc49ebc0ea305
parent8598addcd79897d57b3a172c1b5e1eb5f2e553f1 (diff)
downloadbcm5719-llvm-510b4da49d29c9ff58ab1ee71f1626f63812ef78.tar.gz
bcm5719-llvm-510b4da49d29c9ff58ab1ee71f1626f63812ef78.zip
Enhance -fsyntax-only test of Carbon.h to also include testing for PTH.
llvm-svn: 61958
-rw-r--r--clang/test/Sema/carbon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Sema/carbon.c b/clang/test/Sema/carbon.c
index 9c9c3780403..94a707557f2 100644
--- a/clang/test/Sema/carbon.c
+++ b/clang/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
OpenPOWER on IntegriCloud