shithub: mc

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