summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2012-11-11 01:35:05 +0000
committerNico Weber <nicolasweber@gmx.de>2012-11-11 01:35:05 +0000
commita6600a339fee660cac2bd9b04cf578fa47ed491d (patch)
treeee12a0cc7b471c21378fdc4717c1596f3efa9454
parent879c92c87549e1c37276a29e7d610523c9659aab (diff)
downloadclang-a6600a339fee660cac2bd9b04cf578fa47ed491d.tar.gz
clang-a6600a339fee660cac2bd9b04cf578fa47ed491d.tar.bz2
clang-a6600a339fee660cac2bd9b04cf578fa47ed491d.tar.xz
FileCheckize test
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167680 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Lexer/dollar-idents.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Lexer/dollar-idents.c b/test/Lexer/dollar-idents.c
index cbf25b0251..e57ee86588 100644
--- a/test/Lexer/dollar-idents.c
+++ b/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