shithub: mc

ref: f560f4097c26ef03098785200460b7bad33788fa
dir: /test/outparam-sl.myr/

View raw version
const arr = [1,2,3,4]
const f = {out
	*out = arr[1:3]
}

const main = {
	var v

	f(&v)
	-> v[0]
}