projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67ea635
)
FileCheckize test
author
Nico Weber
<nicolasweber@gmx.de>
Sun, 11 Nov 2012 01:35:05 +0000
(
01:35
+0000)
committer
Nico Weber
<nicolasweber@gmx.de>
Sun, 11 Nov 2012 01:35:05 +0000
(
01:35
+0000)
llvm-svn: 167680
clang/test/Lexer/dollar-idents.c
patch
|
blob
|
history
diff --git
a/clang/test/Lexer/dollar-idents.c
b/clang/test/Lexer/dollar-idents.c
index
cbf25b0
..
e57ee86
100644
(file)
--- a/
clang/test/Lexer/dollar-idents.c
+++ b/
clang/test/Lexer/dollar-idents.c
@@
-1,7
+1,7
@@
-// RUN: %clang_cc1 -dump-tokens %s 2> %t
-// RUN: grep "identifier '\$A'" %t
-// RUN: %clang_cc1 -dump-tokens -x assembler-with-cpp %s 2> %t
-// RUN: grep "identifier 'A'" %t
+// RUN: %clang_cc1 -dump-tokens %s 2>&1 | FileCheck %s
+// RUN: %clang_cc1 -dump-tokens -x assembler-with-cpp %s 2>&1 | FileCheck %s --check-prefix=ASM
// PR3808
+// CHECK: identifier '$A'
+// CHECK-ASM: identifier 'A'
$A