diff options
-rw-r--r-- | test/Sema/carbon.c | 6 | ||||
-rw-r--r-- | test/SemaObjC/cocoa.m | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/test/Sema/carbon.c b/test/Sema/carbon.c index 983a000b2c..885a29cdf3 100644 --- a/test/Sema/carbon.c +++ b/test/Sema/carbon.c @@ -1,4 +1,8 @@ -// RUN: clang-cc %s -fsyntax-only -print-stats +// RUN: clang-cc %s -print-stats && +// RUN: clang-cc %s -disable-free && +// RUN: clang-cc -emit-pth -o %t %s && +// RUN: clang-cc -token-cache %t %s && +// RUN: clang-cc -token-cache %t %s -E %s -o /dev/null #ifdef __APPLE__ #include <Carbon/Carbon.h> #endif diff --git a/test/SemaObjC/cocoa.m b/test/SemaObjC/cocoa.m index 153c46e103..0064094411 100644 --- a/test/SemaObjC/cocoa.m +++ b/test/SemaObjC/cocoa.m @@ -1,5 +1,8 @@ // RUN: clang-cc %s -print-stats && -// RUN: clang-cc %s -disable-free +// RUN: clang-cc %s -disable-free && +// RUN: clang-cc -emit-pth -o %t %s && +// RUN: clang-cc -token-cache %t %s && +// RUN: clang-cc -token-cache %t %s -E %s -o /dev/null #ifdef __APPLE__ #include <Cocoa/Cocoa.h> #endif |