summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/token-concat.c
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-01-28 20:40:50 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-01-28 20:40:50 +0000
commit75bd3a8ec1405786b2d8a9baceecf5172d65ef85 (patch)
tree62e7ca40a0b59366c26d49ebc37d62081b3746ae /clang/test/Lexer/token-concat.c
parent0ad84b46e317b5b9c0c74edcc602a1f0ed679b17 (diff)
downloadbcm5719-llvm-75bd3a8ec1405786b2d8a9baceecf5172d65ef85.tar.gz
bcm5719-llvm-75bd3a8ec1405786b2d8a9baceecf5172d65ef85.zip
FileCheck'ize and merge tests
llvm-svn: 173714
Diffstat (limited to 'clang/test/Lexer/token-concat.c')
-rw-r--r--clang/test/Lexer/token-concat.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/clang/test/Lexer/token-concat.c b/clang/test/Lexer/token-concat.c
index 551af950ae9..0a2cbeef6fd 100644
--- a/clang/test/Lexer/token-concat.c
+++ b/clang/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: {{^}}.*{{$}}
+
OpenPOWER on IntegriCloud