shithub: mc

ref: 1018f0d5c592cbe9c2d78b7197369f422ffa26b0
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])
}