shithub: mc

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