shithub: mc

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