shithub: mc

ref: 00963a8a8348d7ef25eaa31cf4b0b4a3cc4036d3
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])
}