forked from OSchip/llvm-project
parent
7f4153dbee
commit
378d72cc40
|
@ -1,9 +1,9 @@
|
||||||
// RUN: clang-cc -Eonly -verify -pedantic %s
|
// RUN: clang-cc -Eonly -verify -pedantic %s
|
||||||
// pasting ""x"" and ""+"" does not give a valid preprocessing token
|
// pasting ""x"" and ""+"" does not give a valid preprocessing token
|
||||||
#define XYZ x ## + // expected-error {{pasting formed 'x+', an invalid preprocessing token}}
|
#define XYZ x ## +
|
||||||
XYZ
|
XYZ // expected-error {{pasting formed 'x+', an invalid preprocessing token}}
|
||||||
#define XXYZ . ## test // expected-error {{pasting formed '.test', an invalid preprocessing token}}
|
#define XXYZ . ## test
|
||||||
XXYZ
|
XXYZ // expected-error {{pasting formed '.test', an invalid preprocessing token}}
|
||||||
|
|
||||||
// GCC PR 20077
|
// GCC PR 20077
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue