]> granicus.if.org Git - clang/commitdiff
Re-enable PTH testing for Cocoa.h and Carbon.h (and include testing for Objective...
authorTed Kremenek <kremenek@apple.com>
Fri, 9 Jan 2009 00:41:48 +0000 (00:41 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 9 Jan 2009 00:41:48 +0000 (00:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61965 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/carbon.c
test/SemaObjC/cocoa.m
test/SemaObjCXX/cocoa.mm

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
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
index 7cb1b5295c5b9cfdaf4b834110e7c5899985947a..d6cbc04f942e81cce8d6054b9238d585302ff939 100644 (file)
@@ -1,5 +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
-