From a498ca67b3d6bb65443c00ef8aa8e3c83ef19b6d Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 9 Dec 2009 00:04:46 +0000 Subject: [PATCH] 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 --- test/Preprocessor/dump_macros.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.50.1