summaryrefslogtreecommitdiff
path: root/test/Preprocessor/macro_rparen_scan2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/macro_rparen_scan2.c')
-rw-r--r--test/Preprocessor/macro_rparen_scan2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Preprocessor/macro_rparen_scan2.c b/test/Preprocessor/macro_rparen_scan2.c
index 41748ac459b9c..c7fb9e3b08c94 100644
--- a/test/Preprocessor/macro_rparen_scan2.c
+++ b/test/Preprocessor/macro_rparen_scan2.c
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s | grep -F 'static int glob = (1 + 1 );'
+// RUN: clang-cc -E %s | FileCheck -strict-whitespace %s
#define R_PAREN )
@@ -6,3 +6,5 @@
static int glob = (1 + FUNC(1 R_PAREN );
+// CHECK: static int glob = (1 + 1 );
+