With lots of experimenting, tradcpp (0.4) seems to work way better than gcc, and it's output is actually valid. We'll go with that for now.
22 lines
229 B
Plaintext
22 lines
229 B
Plaintext
|
|
int d =
|
|
0
|
|
;
|
|
int e =
|
|
1
|
|
;
|
|
int f =
|
|
0
|
|
;
|
|
int
|
|
main()
|
|
{
|
|
int a, b, c;
|
|
a = 2 > 1 ? 0 : 0 ? 1 : 1;
|
|
b = (2 > 1 ? 0 : 0) ? 1 : 1;
|
|
c = 2 > 1 ? 0 : (0 ? 1 : 1);
|
|
printf("%d %d %d\n", a, b, c);
|
|
printf("%d %d %d\n", d, e, f);
|
|
return 0;
|
|
}
|