зеркало из https://github.com/microsoft/clang-1.git
update test for r72519
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72520 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
3c17b8a430
Коммит
8c0d8a2cc4
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче