shithub: mc

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