FileCheck'ize and merge tests

llvm-svn: 173697
This commit is contained in:
Dmitri Gribenko 2013-01-28 17:31:40 +00:00
parent 9eaae74f7d
commit b5bf9b64d2
2 changed files with 11 additions and 7 deletions

View File

@ -1,4 +1,14 @@
// RUN: %clang_cc1 -E %s | grep -- '-"" , - "" , -"" , - ""'
// RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
#define A(b) -#b , - #b , -# b , - # b
A()
// CHECK: {{^}}-"" , - "" , -"" , - ""{{$}}
#define t(x) #x
t(a
c)
// CHECK: {{^}}"a c"{{$}}

View File

@ -1,6 +0,0 @@
/* RUN: %clang_cc1 -E %s | grep 'a c'
*/
#define t(x) #x
t(a
c)