aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/macro_rparen_scan2.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-10-26 22:51:02 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-10-26 22:51:02 +0000
commit70881dfdd85394575cf95f9cf618742b46b6e1e7 (patch)
tree28e33e091f6cd3d1ce8484369bd25867f3bc9eb2 /test/Preprocessor/macro_rparen_scan2.c
parentfeb15e3f39de77ce5cdf8a5d9ee01ead5e679e9e (diff)
Convert a few tests to FileCheck for PR5307.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85170 91177308-0d34-0410-b5e6-96231b3b80d8
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 41748ac459..30597a0097 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 %s
#define R_PAREN )
@@ -6,3 +6,5 @@
static int glob = (1 + FUNC(1 R_PAREN );
+// CHECK: static int glob = (1 + 1 );
+