summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/cxx_oper_spelling.cpp
diff options
context:
space:
mode:
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 0ae9afd..5152977 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"
OpenPOWER on IntegriCloud