summaryrefslogtreecommitdiff
path: root/test/arraylit-ni.myr
blob: 1ff225379fde4a5119241f672f61b916f4926e05 (plain)
1
2
3
4
5
6
use std
/* checks that we can create arrays without indexed initializers. exits with 2. */
const main = {
	var a = [1, 3, 2]
	std.exit(a[2])
}