shithub: mc

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