shithub: regress

ref: 95f77d6b8b48c25f079e8cb2686409896c478cb9
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