shithub: mc

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