aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-01-08 23:41:35 +0000
committerTed Kremenek <kremenek@apple.com>2009-01-08 23:41:35 +0000
commite547757a256efeee887c96cfa495f3ca3dd55605 (patch)
treeaeb3e96e7bdd6e4f2123e8f17bd2ea3e7c397134
parentf89f7f972320da3147a90108454fa231234d4557 (diff)
Enhance -fsyntax-only test of Cocoa.h to also include testing for PTH.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61957 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/SemaObjC/cocoa.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/SemaObjC/cocoa.m b/test/SemaObjC/cocoa.m
index 7cb1b5295c..ac7d1dc666 100644
--- a/test/SemaObjC/cocoa.m
+++ b/test/SemaObjC/cocoa.m
@@ -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