FileCheck'ize and merge tests

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173714 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dmitri Gribenko 2013-01-28 20:40:50 +00:00
parent bde67cfdf0
commit 03efd9d034
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: {{^}}.*{{$}}