diff options
-rw-r--r-- | test/Sema/carbon.c | 3 | ||||
-rw-r--r-- | test/SemaObjC/cocoa.m | 3 | ||||
-rw-r--r-- | test/SemaObjCXX/cocoa.mm | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/test/Sema/carbon.c b/test/Sema/carbon.c index 9c9c378040..94a707557f 100644 --- a/test/Sema/carbon.c +++ b/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 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 diff --git a/test/SemaObjCXX/cocoa.mm b/test/SemaObjCXX/cocoa.mm index 7cb1b5295c..d6cbc04f94 100644 --- a/test/SemaObjCXX/cocoa.mm +++ b/test/SemaObjCXX/cocoa.mm @@ -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 - |