blob: a1c5e04c1247d4365ae0eb0c6ebdaddcdfff09df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
use std
/* checks that false conditions lead to the false branch of an if statement.
* should exit with 9. */
const main = {
var x = 5, y = 7
if x == 7 && y == 5
std.exit(7)
else
std.exit(9)
;;
}
|