shithub: mc

ref: ff88594df5c5df6fb8f227ab8e5df3529ba6e72f
dir: /test/array.myr/

View raw version
use std
/* 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]
	std.exit(a[2])
}