From: Dmitri Gribenko Date: Mon, 28 Jan 2013 20:40:50 +0000 (+0000) Subject: FileCheck'ize and merge tests X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=03efd9d034c2e2b698fd087c937f98d2637dcb11;p=clang FileCheck'ize and merge tests git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173714 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Lexer/token-concat-2.c b/test/Lexer/token-concat-2.c deleted file mode 100644 index 7d3cd64439..0000000000 --- a/test/Lexer/token-concat-2.c +++ /dev/null @@ -1,4 +0,0 @@ -// RUN: %clang_cc1 -E -x c -o - %s | grep '[.][*]' -// PR4395 -#define X .* -X diff --git a/test/Lexer/token-concat.c b/test/Lexer/token-concat.c index 551af950ae..0a2cbeef6f 100644 --- a/test/Lexer/token-concat.c +++ b/test/Lexer/token-concat.c @@ -1,4 +1,11 @@ -// RUN: %clang_cc1 -E -x c -o %t %s -// RUN: grep 'IDENT.2' %t +// RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s IDENT.2 +// CHECK: {{^}}IDENT.2{{$}} + + +// PR4395 +#define X .* +X +// CHECK: {{^}}.*{{$}} +