mirror of
https://github.com/frida/tinycc
synced 2024-12-01 03:47:01 +03:00
a1c139063b
* correct -E output for the case ++ + ++ concatenation do this only for expanded from macro string and only when tcc_state->output_type == TCC_OUTPUT_PREPROCESS
22 lines
224 B
C
22 lines
224 B
C
#define Y(x) Z(x)
|
|
#define X Y
|
|
X(1)
|
|
X(X(1))
|
|
X(X(X(X(X(1)))))
|
|
|
|
#define A B
|
|
#define B A
|
|
return A + B;
|
|
|
|
#undef A
|
|
#undef B
|
|
|
|
#define A B+1
|
|
#define B A
|
|
return A + B;
|
|
|
|
#define A1 B1+1
|
|
#define B1 C1+2
|
|
#define C1 A1+3
|
|
return A1 + B1;
|