shithub: mc

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