fixup! riscv: Implement large addend for global address
[tinycc.git] / tests / pp / 02.c
blobfeb1254e3f301ace716b1da84711ee1bb70fab77
1 #define x 3
2 #define f(a) f(x * (a))
3 #undef x
4 #define x 2
5 #define g f
6 #define z z[0]
7 #define h g(~
8 #define m(a) a(w)
9 #define w 0,1
10 #define t(a) a
11 #define p() int
12 #define q(x) x
13 #define r(x,y) x ## y
14 #define str(x) # x
15 f(y+1) + f(f(z)) % t(t(g)(0) + t)(1);
16 g(x+(3,4)-w) | h 5) & m
17 (f)^m(m);
18 char c[2][6] = { str(hello), str() };
20 * f(2 * (y+1)) + f(2 * (f(2 * (z[0])))) % f(2 * (0)) + t(1);
21 * f(2 * (2+(3,4)-0,1)) | f(2 * (~ 5)) & f(2 * (0,1))^m(0,1);
22 * char c[2][6] = { "hello", "" };
24 #define L21 f(y+1) + f(f(z)) % t(t(g)(0) + t)(1);
25 #define L22 g(x+(3,4)-w) | h 5) & m\
26 (f)^m(m);
27 L21
28 L22