forked from OSchip/llvm-project
14 lines
224 B
C
14 lines
224 B
C
|
// RUN: clang -E %s | grep 'a:Y' &&
|
||
|
// RUN: clang -E %s | grep 'b:Y' &&
|
||
|
// RUN: clang -E %s | grep 'c:YY'
|
||
|
|
||
|
#define FOO(X) X ## Y
|
||
|
a:FOO()
|
||
|
|
||
|
#define FOO2(X) Y ## X
|
||
|
b:FOO2()
|
||
|
|
||
|
#define FOO3(X) X ## Y ## X ## Y ## X ## X
|
||
|
c:FOO3()
|
||
|
|