| 1 | // Note: dump expressions should not get optimised out by the transformer stage, |
| 2 | // even though they could normally, when they are composed of literals, i.e. |
| 3 | // the value of the expression is known at compile time. |
| 4 | fn main() { |
| 5 | dump(2 + 2) |
| 6 | dump(2 * 3 + 50 / 5) |
| 7 | dump(3.14 + 0.1) |
| 8 | dump('abc' + 'a') |
| 9 | dump('a' + 'b' + 'c') |
| 10 | dump(true || (false && true)) |
| 11 | dump(2 == 4) |
| 12 | } |
| 13 |