shithub: mc

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