diff options
author | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-10-27 02:36:32 +0000 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-10-27 02:36:32 +0000 |
commit | f78edf52de7aa68e98a1c43ade5cacd60d5ab0b1 (patch) | |
tree | 0dc85083fd54defdc50c764d91ecfaf43c238fa2 /clang/test/Preprocessor/macro_rescan_varargs.c | |
parent | a5ae75425d927569a6041c6b76e5b2f765d20864 (diff) | |
download | bcm5719-llvm-f78edf52de7aa68e98a1c43ade5cacd60d5ab0b1.tar.gz bcm5719-llvm-f78edf52de7aa68e98a1c43ade5cacd60d5ab0b1.zip |
Convert Preprocessor Clang tests to FileCheck in regards to PR5307.
llvm-svn: 85199
Diffstat (limited to 'clang/test/Preprocessor/macro_rescan_varargs.c')
-rw-r--r-- | clang/test/Preprocessor/macro_rescan_varargs.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/clang/test/Preprocessor/macro_rescan_varargs.c b/clang/test/Preprocessor/macro_rescan_varargs.c index ed1056ab1b3..8a3ad151141 100644 --- a/clang/test/Preprocessor/macro_rescan_varargs.c +++ b/clang/test/Preprocessor/macro_rescan_varargs.c @@ -1,5 +1,5 @@ -// RUN: clang-cc -E %s | grep -F "1: F, (, 'a', 'b', );" && -// RUN: clang-cc -E %s | grep -F "2: 'a' + 'b';" +// RUN: clang-cc -E %s | FileCheck -strict-whitespace %s + #define LPAREN ( #define RPAREN ) #define F(x, y) x + y @@ -8,3 +8,6 @@ 1: ELLIP_FUNC(F, LPAREN, 'a', 'b', RPAREN); /* 1st invocation */ 2: ELLIP_FUNC(F LPAREN 'a', 'b' RPAREN); /* 2nd invocation */ +// CHECK: 1: F, (, 'a', 'b', ); +// CHECK: 2: 'a' + 'b'; + |