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

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

// also single-line now

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