diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-19 18:54:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-19 18:54:13 +0000 |
commit | 1377dc4c79f50da06fda7ae692349e83b1a19b0f (patch) | |
tree | e06f2549d9589f53a965506f9cd01c8cee88d1c0 /clang/test/Preprocessor/macro_paste_bad.c | |
parent | 0575dbb69230cf89437e214bf59eda985a42c54a (diff) | |
download | bcm5719-llvm-1377dc4c79f50da06fda7ae692349e83b1a19b0f.tar.gz bcm5719-llvm-1377dc4c79f50da06fda7ae692349e83b1a19b0f.zip |
convert to -verify mode.
llvm-svn: 69532
Diffstat (limited to 'clang/test/Preprocessor/macro_paste_bad.c')
-rw-r--r-- | clang/test/Preprocessor/macro_paste_bad.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Preprocessor/macro_paste_bad.c b/clang/test/Preprocessor/macro_paste_bad.c index 1ccfdec368c..29aafdb111e 100644 --- a/clang/test/Preprocessor/macro_paste_bad.c +++ b/clang/test/Preprocessor/macro_paste_bad.c @@ -1,5 +1,5 @@ -// RUN: clang-cc -Eonly %s 2>&1 | grep error +// RUN: clang-cc -Eonly -verify %s // pasting ""x"" and ""+"" does not give a valid preprocessing token -#define XYZ x ## + +#define XYZ x ## + // expected-error {{pasting formed 'x', an invalid preprocessing token}} XYZ |