diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-14 04:57:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-14 04:57:53 +0000 |
commit | 0dcfbc5879694debfa83520ec09635d51afdf9de (patch) | |
tree | e739b470c8351659a1688224644949dc57f485f0 | |
parent | ce5818a19a8f77d1540d0352649d6687eca4af6b (diff) |
filecheckize
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91265 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Preprocessor/macro_fn_disable_expand.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/Preprocessor/macro_fn_disable_expand.c b/test/Preprocessor/macro_fn_disable_expand.c index c3b067dfc9..2c24d696d5 100644 --- a/test/Preprocessor/macro_fn_disable_expand.c +++ b/test/Preprocessor/macro_fn_disable_expand.c @@ -1,11 +1,10 @@ -// RUN: clang-cc %s -E | grep 'bar foo (2)' -// RUN: clang-cc %s -E | grep 'm(ABCD)' +// RUN: clang-cc %s -E | FileCheck %s #define foo(x) bar x foo(foo) (2) - +// CHECK: bar foo (2) #define m(a) a(w) #define w ABCD -m(m) // m(ABCD) - +m(m) +// CHECK: m(ABCD) |