[cfe-commits] r90907 - /cfe/trunk/test/Preprocessor/dump_macros.c
Daniel Dunbar
daniel at zuster.org
Tue Dec 8 16:04:47 PST 2009
Author: ddunbar
Date: Tue Dec 8 18:04:46 2009
New Revision: 90907
URL: http://llvm.org/viewvc/llvm-project?rev=90907&view=rev
Log:
Improve test portability; I can't figure out how to get the regexp library to
match $ correctly with \r\n, unfortunately.
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=90907&r1=90906&r2=90907&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/dump_macros.c (original)
+++ cfe/trunk/test/Preprocessor/dump_macros.c Tue Dec 8 18:04:46 2009
@@ -1,11 +1,11 @@
// RUN: clang-cc -E -dM %s -o - | FileCheck %s -strict-whitespace
// Space at end even without expansion tokens
-// CHECK: {{#define A[(]x[)] $}}
+// CHECK: #define A(x)
#define A(x)
// Space before expansion list.
-// CHECK: {{#define B[(]x,y[)] x y$}}
+// CHECK: #define B(x,y) x y
#define B(x,y)x y
// No space in argument list.
More information about the cfe-commits
mailing list