shithub: regress

ref: 662eb3f8a4e240bbc2aa17ec0274a419316c5e25
dir: /cmd/cpp/cat.test/

View raw version
#define NOP(x) x
#define CAT(a, b) a ## b
#define EOF	(-1)
x NOP(CAT(foo, EOF)) y
x NOP(CAT(EOF, foo)) y
x CAT(, EOF) y
y CAT(foo,) x
x CAT(,foo) y
X NOP(CAT(,)) y

#define BAR	3
#define FOO	CAT(BAR, 3)
FOO