FileCheck'ize and merge tests

llvm-svn: 173714
This commit is contained in:
Dmitri Gribenko 2013-01-28 20:40:50 +00:00
parent 0ad84b46e3
commit 75bd3a8ec1
2 changed files with 9 additions and 6 deletions

View File

@ -1,4 +0,0 @@
// RUN: %clang_cc1 -E -x c -o - %s | grep '[.][*]'
// PR4395
#define X .*
X

View 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: {{^}}.*{{$}}