diff options
Diffstat (limited to 'clang/test/Preprocessor/macro_rparen_scan2.c')
-rw-r--r-- | clang/test/Preprocessor/macro_rparen_scan2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/Preprocessor/macro_rparen_scan2.c b/clang/test/Preprocessor/macro_rparen_scan2.c index 41748ac459b..30597a00973 100644 --- a/clang/test/Preprocessor/macro_rparen_scan2.c +++ b/clang/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 %s #define R_PAREN ) @@ -6,3 +6,5 @@ static int glob = (1 + FUNC(1 R_PAREN ); +// CHECK: static int glob = (1 + 1 ); + |