This file inspired by https://github.com/TinyCC/tinycc/blob/mob/tests/pp/02.c
#definex 3
#definef(a) f(x * (a))
#undef x
#definex 2
#defineg f
#definez z[0]
#defineh g(~
#definem(a) a(w)
#definew 0,1
#definet(a) a
#definep() int
#defineq(x) x
#definer(x,y) x ## y
#definestr(x) # x
voidfunc(inty, intz) {
f(y+1) +f(f(z)) % t(t(g)(0) +t)(1);
g(x+(3,4)-w) | h5) &m
(f)^m(m);
charc[2][6] = { str(hello), str() };
/* * f(2 * (y+1)) + f(2 * (f(2 * (z[0])))) % f(2 * (0)) + t(1); * f(2 * (2+(3,4)-0,1)) | f(2 * (~ 5)) & f(2 * (0,1))^m(0,1); * char c[2][6] = { "hello", "" }; */#defineL21 f(y+1) + f(f(z)) % t(t(g)(0) + t)(1);
#defineL22 g(x+(3,4)-w) | h 5) & m\
(f)^m(m);
L21L22
}triggers a a.c:8: syntax error: failed to expand 'm', Wrong number of parameters for macro 'f'.
This file inspired by https://github.com/TinyCC/tinycc/blob/mob/tests/pp/02.c
triggers a
a.c:8: syntax error: failed to expand 'm', Wrong number of parameters for macro 'f'.