Commit 1ed35ba2 authored by Nico Weber's avatar Nico Weber
Browse files

FileCheckize test

llvm-svn: 167680
parent 67ea635f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
// 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