aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/cxx_oper_spelling.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-04-10 21:10:39 +0000
committerReid Kleckner <reid@kleckner.net>2013-04-10 21:10:39 +0000
commit2c5a38e3bc347de64f694671bbb1097bd6544456 (patch)
tree4b202fbf63567ade606ac61ecf48e0d1be0b6b9a /test/Preprocessor/cxx_oper_spelling.cpp
parent0e7f2bb1810a4e5e62a8e247460cd26f981d0827 (diff)
FileCheck-ify some clang grep tests that use double quotes
The escaping interaction between Python and grep doesn't work on my system. This change fixes the tests for me. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179214 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/cxx_oper_spelling.cpp')
-rw-r--r--test/Preprocessor/cxx_oper_spelling.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Preprocessor/cxx_oper_spelling.cpp b/test/Preprocessor/cxx_oper_spelling.cpp
index 0ae9afd7ee..5152977ba2 100644
--- a/test/Preprocessor/cxx_oper_spelling.cpp
+++ b/test/Preprocessor/cxx_oper_spelling.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -E %s | grep 'a: "and"'
+// RUN: %clang_cc1 -E %s | FileCheck %s
#define X(A) #A
@@ -8,4 +8,5 @@
//
// This should be spelled as 'and', not '&&'
a: X(and)
+// CHECK: a: "and"