summaryrefslogtreecommitdiff
path: root/test/postinc-ret.myr
blob: b552d2a7a0a18f1268b783625c38d033f564e011 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use std

const main = {
	std.put("{}\n", f())
}

const a = [1,2,3][:]
const f = {
	var i = 0
	-> a[i++]
}