diff options
| author | Ted Kremenek <kremenek@apple.com> | 2009-01-09 00:41:48 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2009-01-09 00:41:48 +0000 |
| commit | 339153d3be566736ba431bda236c07b4f77f69c0 (patch) | |
| tree | 7dce2ce877f2e251c9b25f283ca823ca832e3641 /clang | |
| parent | e84858ccf9aa4dee74686140a5a2f6905bb36673 (diff) | |
| download | bcm5719-llvm-339153d3be566736ba431bda236c07b4f77f69c0.tar.gz bcm5719-llvm-339153d3be566736ba431bda236c07b4f77f69c0.zip | |
Re-enable PTH testing for Cocoa.h and Carbon.h (and include testing for Objective-C++).
llvm-svn: 61965
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/test/Sema/carbon.c | 3 | ||||
| -rw-r--r-- | clang/test/SemaObjC/cocoa.m | 3 | ||||
| -rw-r--r-- | clang/test/SemaObjCXX/cocoa.mm | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/clang/test/Sema/carbon.c b/clang/test/Sema/carbon.c index 9c9c3780403..94a707557f2 100644 --- a/clang/test/Sema/carbon.c +++ b/clang/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/clang/test/SemaObjC/cocoa.m b/clang/test/SemaObjC/cocoa.m index 7cb1b5295c5..ac7d1dc6668 100644 --- a/clang/test/SemaObjC/cocoa.m +++ b/clang/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/clang/test/SemaObjCXX/cocoa.mm b/clang/test/SemaObjCXX/cocoa.mm index 7cb1b5295c5..d6cbc04f942 100644 --- a/clang/test/SemaObjCXX/cocoa.mm +++ b/clang/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 - |

