summaryrefslogtreecommitdiff
path: root/test.lang
blob: 05efc47e9f3bc090a8bcc5a8a520ee15624ec529 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* comments! */

/*
 * var f proc(i32)
 * var g func(i32) i32
 * let x = g
 */

// also single-line now

proc main(a, b i64) {
	//let x = (a + -b) = (a xor b)
	//let y = (a + b) = (b * 2)
	//return (x & y & (a = a) & (a = ~b)) | ((a + a) = (a / 2))
	return (a <= b) = ~(a > b)
}