mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 18:51:34 +00:00
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()
|
|
|