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

test/SemaObjC/cocoa.m

index 7cb1b5295c5b9cfdaf4b834110e7c5899985947a..ac7d1dc6668855a8c3dc8fa148397a3b4ea6b742 100644 (file)
@@ -1,4 +1,5 @@
-// RUN: clang %s -print-stats
+// RUN: clang %s -print-stats &&
+// RUN: clang -x objective-c-header -o %t %s && clang -token-cache %t %s
 #ifdef __APPLE__
 #include <Cocoa/Cocoa.h>
 #endif