1 2 3 4 5 6 7 8 9 10 11 12 13 14
#undef F #undef N #undef B #undef TX #define F(n, x, v, w) \ if (arg.x != s##n.x) FAIL (n, 30); #define N(n, x) #define B(n, x, v, w) \ if (arg.x != s##n.x) FAIL (n, 30); #define TX(n, type, attrs, fields, ops) \ void checkx##n (type S##n arg) \ { \ ops \ }