[cfe-commits] r90734 - /cfe/trunk/test/Preprocessor/dump_macros.c
Chris Lattner
sabre at nondot.org
Sun Dec 6 17:57:13 PST 2009
Author: lattner
Date: Sun Dec 6 19:57:13 2009
New Revision: 90734
URL: http://llvm.org/viewvc/llvm-project?rev=90734&view=rev
Log:
rename names for consistency
Modified:
cfe/trunk/test/Preprocessor/dump_macros.c
Modified: cfe/trunk/test/Preprocessor/dump_macros.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/dump_macros.c?rev=90734&r1=90733&r2=90734&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/dump_macros.c (original)
+++ cfe/trunk/test/Preprocessor/dump_macros.c Sun Dec 6 19:57:13 2009
@@ -13,18 +13,17 @@
#define C(x, y) x y
// No paste avoidance.
-// CHECK: #define X() ..
-#define X() ..
+// CHECK: #define D() ..
+#define D() ..
// Simple test.
-// CHECK: #define Y .
-// CHECK: #define Z X()Y
-#define Y .
-#define Z X()Y
+// CHECK: #define E .
+// CHECK: #define F X()Y
+#define E .
+#define F X()Y
// gcc prints macros at end of translation unit, so last one wins.
-// CHECK: #define foo 2
-#define foo 1
-#undef foo
-#define foo 2
-
+// CHECK: #define G 2
+#define G 1
+#undef G
+#define G 2
More information about the cfe-commits
mailing list