From: Daniel Dunbar Date: Wed, 9 Dec 2009 00:04:46 +0000 (+0000) Subject: Improve test portability; I can't figure out how to get the regexp library to X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a498ca67b3d6bb65443c00ef8aa8e3c83ef19b6d;p=clang Improve test portability; I can't figure out how to get the regexp library to match $ correctly with \r\n, unfortunately. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90907 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Preprocessor/dump_macros.c b/test/Preprocessor/dump_macros.c index b4d2906127..5908fec4b6 100644 --- a/test/Preprocessor/dump_macros.c +++ b/test/Preprocessor/dump_macros.c @@ -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.