[cfe-commits] r67380 - in /cfe/trunk/test/Preprocessor: assembler-with-cpp.S assembler-with-cpp.c

Chris Lattner sabre at nondot.org
Fri Mar 20 09:16:50 PDT 2009


Author: lattner
Date: Fri Mar 20 11:16:49 2009
New Revision: 67380

URL: http://llvm.org/viewvc/llvm-project?rev=67380&view=rev
Log:
rename this test from .S to .c so that it gets run.

Added:
    cfe/trunk/test/Preprocessor/assembler-with-cpp.c
Removed:
    cfe/trunk/test/Preprocessor/assembler-with-cpp.S

Removed: cfe/trunk/test/Preprocessor/assembler-with-cpp.S
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/assembler-with-cpp.S?rev=67379&view=auto

==============================================================================
--- cfe/trunk/test/Preprocessor/assembler-with-cpp.S (original)
+++ cfe/trunk/test/Preprocessor/assembler-with-cpp.S (removed)
@@ -1,6 +0,0 @@
-// RUN: clang -E %s &&
-// RUN: not clang -x c -E %s
-
-#ifndef __ASSEMBLER__
-#error "__ASSEMBLER__ not defined"
-#endif

Added: cfe/trunk/test/Preprocessor/assembler-with-cpp.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/assembler-with-cpp.c?rev=67380&view=auto

==============================================================================
--- cfe/trunk/test/Preprocessor/assembler-with-cpp.c (added)
+++ cfe/trunk/test/Preprocessor/assembler-with-cpp.c Fri Mar 20 11:16:49 2009
@@ -0,0 +1,6 @@
+// RUN: clang -x assembler-with-cpp -E %s &&
+// RUN: not clang -x c -E %s
+
+#ifndef __ASSEMBLER__
+#error "__ASSEMBLER__ not defined"
+#endif





More information about the cfe-commits mailing list