shithub: mc

ref: 3dc71f6baaf6ff6a7e5a41fd89ea3ec2c7bdf88c
dir: /test/array.myr/

View raw version
/* tests reading and writing to arrays. should exit with 7 */
const main = {
	var a : int[3]
	a[0] = 3
	a[1] = 4
	a[2] = a[0] + a[1]
	-> a[2]
}