]> granicus.if.org Git - clang/commitdiff
FileCheck'ize and merge tests
authorDmitri Gribenko <gribozavr@gmail.com>
Mon, 28 Jan 2013 20:40:50 +0000 (20:40 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Mon, 28 Jan 2013 20:40:50 +0000 (20:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173714 91177308-0d34-0410-b5e6-96231b3b80d8

test/Lexer/token-concat-2.c [deleted file]
test/Lexer/token-concat.c

diff --git a/test/Lexer/token-concat-2.c b/test/Lexer/token-concat-2.c
deleted file mode 100644 (file)
index 7d3cd64..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-// RUN: %clang_cc1 -E -x c -o - %s | grep '[.][*]'
-// PR4395
-#define X .*
-X
index 551af950ae925a3f6aef03d496ce380eadbc57d2..0a2cbeef6fd0824996f623ed00b3ce050a372e70 100644 (file)
@@ -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: {{^}}.*{{$}}
+