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

const main = {
	var v

	v = [foo(), 42, 123]
	std.exit(v[0])
}

const foo = {
	-> 21 
}