From: Chris Lattner Date: Thu, 28 May 2009 05:41:32 +0000 (+0000) Subject: update test for r72519 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c0d8a2cc4844ebed87842821930a0ebd3dc8924;p=clang update test for r72519 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72520 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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