shithub: mc

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