From: Daniel Dunbar Date: Wed, 1 Apr 2009 18:25:32 +0000 (+0000) Subject: Split PTH tests from carbon.c into separate test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=16e3fed83966be5642d37441efe61edce5136b70;p=clang Split PTH tests from carbon.c into separate test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68223 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 +#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 #endif