summaryrefslogtreecommitdiff
path: root/test.lang
blob: d7f3c890ba218cea857f868fdb6ec7956c2ff0d8 (plain)
1
2
3
4
5
6
7
8
9
func main(a, b i64) i64 {
	if a < b {
		let t = a
		a := b
		b := t
	}
	/* TODO: error on failing to return from a function */
	return a + b
}