shithub: mc

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