cfad47cfa3/t3compiler/tads3/test/data/tertiary.t
| 4b825dc642cb6eb9a060e54bf8d69288fbee4904 | cfad47cfa334b206c65f22086bcc5d63e6f70944 | ||
|---|---|---|---|
1 | #include <tads.h> | ||
2 | |||
3 | f(x, y) { "f(<<x>>)\n"; return y; } | ||
4 | |||
5 | main(args) | ||
6 | { | ||
7 | local a; | ||
8 | |||
9 | a = f(1, nil) ? f(2, true) ? f(3, true) : f(4, true) : f(5, true); | ||
10 | "\b"; | ||
11 | a = f(1, true) ? f(2, true) ? f(3, true) : f(4, true) : f(5, true); | ||
12 | "\b"; | ||
13 | a = f(1, true) ? f(2, true) : f(3, true) ? f(4, true) : f(5, true); | ||
14 | "\b"; | ||
15 | a = f(1, nil) ? f(2, true) : f(3, true) ? f(4, true) : f(5, true); | ||
16 | } |
Download diff