[cfe-commits] r68223 - in /cfe/trunk/test/Sema: carbon-pth.c carbon.c
Daniel Dunbar
daniel at zuster.org
Wed Apr 1 11:25:33 PDT 2009
Author: ddunbar
Date: Wed Apr 1 13:25:32 2009
New Revision: 68223
URL: http://llvm.org/viewvc/llvm-project?rev=68223&view=rev
Log:
Split PTH tests from carbon.c into separate test.
Added:
cfe/trunk/test/Sema/carbon-pth.c
Modified:
cfe/trunk/test/Sema/carbon.c
Added: cfe/trunk/test/Sema/carbon-pth.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/carbon-pth.c?rev=68223&view=auto
==============================================================================
--- cfe/trunk/test/Sema/carbon-pth.c (added)
+++ cfe/trunk/test/Sema/carbon-pth.c Wed Apr 1 13:25:32 2009
@@ -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
+
Modified: cfe/trunk/test/Sema/carbon.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/carbon.c?rev=68223&r1=68222&r2=68223&view=diff
==============================================================================
--- cfe/trunk/test/Sema/carbon.c (original)
+++ cfe/trunk/test/Sema/carbon.c Wed Apr 1 13:25:32 2009
@@ -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
More information about the cfe-commits
mailing list