shithub: mc

ref: 100d3a203f8ee81adc5e31adac2d2c6c0ce65e5f
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])
}