shithub: mc

ref: 0bb2378d7e2b714998b34394f6977b2ead023d6c
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])
}