shithub: mc

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