From 378d72cc406f0006007191c1972302752fe41d6b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 28 May 2009 05:41:32 +0000 Subject: [PATCH] update test for r72519 llvm-svn: 72520 --- clang/test/Preprocessor/macro_paste_bad.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clang/test/Preprocessor/macro_paste_bad.c b/clang/test/Preprocessor/macro_paste_bad.c index c3b6179021a8..1212c44c1aa7 100644 --- a/clang/test/Preprocessor/macro_paste_bad.c +++ b/clang/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