shithub: mc

ref: 4050a902f6278595dd253ec38ad7caf446ec31d8
dir: /test/slice.myr/

View raw version
const main = {
	var a : int[3]
	var s

	s = a[0,3]
	s[0] = 3
	s[1] = 4
	s[2] = s[0] + s[1]
	-> s[2]
}