[cfe-commits] r72520 - /cfe/trunk/test/Preprocessor/macro_paste_bad.c
Chris Lattner
sabre at nondot.org
Wed May 27 22:41:32 PDT 2009
Author: lattner
Date: Thu May 28 00:41:32 2009
New Revision: 72520
URL: http://llvm.org/viewvc/llvm-project?rev=72520&view=rev
Log:
update test for r72519
Modified:
cfe/trunk/test/Preprocessor/macro_paste_bad.c
Modified: cfe/trunk/test/Preprocessor/macro_paste_bad.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/macro_paste_bad.c?rev=72520&r1=72519&r2=72520&view=diff
==============================================================================
--- cfe/trunk/test/Preprocessor/macro_paste_bad.c (original)
+++ cfe/trunk/test/Preprocessor/macro_paste_bad.c Thu May 28 00:41:32 2009
@@ -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
More information about the cfe-commits
mailing list