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 | b8132253c8e3b8930e28b63227deb31d20809072 (patch) | |
tree | 8267da38beccd9cb2485d5b846e83f7fda41c625 /clang/test/Preprocessor/macro_fn_disable_expand.c | |
parent | 72ec6bc6f4c7275d7e35d1f0603718356ee161fe (diff) | |
download | bcm5719-llvm-b8132253c8e3b8930e28b63227deb31d20809072.tar.gz bcm5719-llvm-b8132253c8e3b8930e28b63227deb31d20809072.zip |
filecheckize
llvm-svn: 91265
Diffstat (limited to 'clang/test/Preprocessor/macro_fn_disable_expand.c')
-rw-r--r-- | clang/test/Preprocessor/macro_fn_disable_expand.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/clang/test/Preprocessor/macro_fn_disable_expand.c b/clang/test/Preprocessor/macro_fn_disable_expand.c index c3b067dfc96..2c24d696d52 100644 --- a/clang/test/Preprocessor/macro_fn_disable_expand.c +++ b/clang/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) |