diff options
-rw-r--r-- | test/Sema/carbon-pth.c | 7 | ||||
-rw-r--r-- | test/Sema/carbon.c | 5 |
2 files changed, 8 insertions, 4 deletions
diff --git a/test/Sema/carbon-pth.c b/test/Sema/carbon-pth.c new file mode 100644 index 0000000000..ebc8840545 --- /dev/null +++ b/test/Sema/carbon-pth.c @@ -0,0 +1,7 @@ +// 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/Sema/carbon.c b/test/Sema/carbon.c index 885a29cdf3..8e6837f125 100644 --- a/test/Sema/carbon.c +++ b/test/Sema/carbon.c @@ -1,8 +1,5 @@ // 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 +// RUN: clang-cc %s -disable-free #ifdef __APPLE__ #include <Carbon/Carbon.h> #endif |