shithub: regress

ref: a36bb18853d22d68fbead016756a23bb6be87431
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