summaryrefslogtreecommitdiff
path: root/test/condiftrue.myr
blob: b3ff13e4ace52cf945b99ea82be534bd5800bff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
use std
/* checks that true complex boolean conditions work. exits with 7. */
const main = {
	var x = 5, y = 7

	if x == 5 && y == 7
		std.exit(7)
	else
		std.exit(9)
	;;
}