shithub: regress

ref: 6dcdf888b80f11a4ccf8109326f8b2a36fb173b2
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