[cfe-commits] r167680 - /cfe/trunk/test/Lexer/dollar-idents.c

Nico Weber nicolasweber at gmx.de
Sat Nov 10 17:35:05 PST 2012


Author: nico
Date: Sat Nov 10 19:35:05 2012
New Revision: 167680

URL: http://llvm.org/viewvc/llvm-project?rev=167680&view=rev
Log:
FileCheckize test

Modified:
    cfe/trunk/test/Lexer/dollar-idents.c

Modified: cfe/trunk/test/Lexer/dollar-idents.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/dollar-idents.c?rev=167680&r1=167679&r2=167680&view=diff
==============================================================================
--- cfe/trunk/test/Lexer/dollar-idents.c (original)
+++ cfe/trunk/test/Lexer/dollar-idents.c Sat Nov 10 19:35:05 2012
@@ -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





More information about the cfe-commits mailing list