shithub: mc

ref: 3d4d7c4ca9eb30d468d71c26f4b4588c800c9d1c
dir: /test/arraylit.myr/

View raw version
use std

/* checks we can make indexed array literals. exits with 3. */
const main = {
	var a = [0: 1, 2: 3, 1: 2]
	std.exit(a[2])
}