update test for r72519

llvm-svn: 72520
This commit is contained in:
Chris Lattner 2009-05-28 05:41:32 +00:00
parent 7f4153dbee
commit 378d72cc40
1 changed files with 4 additions and 4 deletions

View File

@ -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