]> granicus.if.org Git - clang/commitdiff
Enhance -fsyntax-only test of Carbon.h to also include testing for PTH.
authorTed Kremenek <kremenek@apple.com>
Thu, 8 Jan 2009 23:42:56 +0000 (23:42 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 8 Jan 2009 23:42:56 +0000 (23:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61958 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/carbon.c

index 9c9c3780403c4aa248741d037f880ae76b46f837..94a707557f263ac40ea8617dc6f4145d37ab20f9 100644 (file)
@@ -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