shithub: mc

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