]> granicus.if.org Git - clang/commitdiff
Improve test portability; I can't figure out how to get the regexp library to
authorDaniel Dunbar <daniel@zuster.org>
Wed, 9 Dec 2009 00:04:46 +0000 (00:04 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 9 Dec 2009 00:04:46 +0000 (00:04 +0000)
match $ correctly with \r\n, unfortunately.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90907 91177308-0d34-0410-b5e6-96231b3b80d8

test/Preprocessor/dump_macros.c

index b4d290612722d46504344d5b4dae36c4c244696b..5908fec4b68158c304a19ab9deba438adcdc7a4a 100644 (file)
@@ -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.