shithub: mc

ref: 2a9a9eba576c0932b7828fda9995a2335e789b2f
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])
}