diff options
author | Chris Lattner <sabre@nondot.org> | 2009-05-28 05:41:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-05-28 05:41:32 +0000 |
commit | 8c0d8a2cc4844ebed87842821930a0ebd3dc8924 (patch) | |
tree | 5166e2069b3e12fc45119e9b7238915accdd34d4 /test/Preprocessor/macro_paste_bad.c | |
parent | 3c17b8a4306b84c05454168128bc705b33a79ca3 (diff) | |
download | clang-8c0d8a2cc4844ebed87842821930a0ebd3dc8924.tar.gz |
update test for r72519
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72520 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/macro_paste_bad.c')
-rw-r--r-- | test/Preprocessor/macro_paste_bad.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Preprocessor/macro_paste_bad.c b/test/Preprocessor/macro_paste_bad.c index c3b6179021..1212c44c1a 100644 --- a/test/Preprocessor/macro_paste_bad.c +++ b/test/Preprocessor/macro_paste_bad.c @@ -1,9 +1,9 @@ // RUN: clang-cc -Eonly -verify -pedantic %s // pasting ""x"" and ""+"" does not give a valid preprocessing token -#define XYZ x ## + // expected-error {{pasting formed 'x+', an invalid preprocessing token}} -XYZ -#define XXYZ . ## test // expected-error {{pasting formed '.test', an invalid preprocessing token}} -XXYZ +#define XYZ x ## + +XYZ // expected-error {{pasting formed 'x+', an invalid preprocessing token}} +#define XXYZ . ## test +XXYZ // expected-error {{pasting formed '.test', an invalid preprocessing token}} // GCC PR 20077 |