shithub: mc

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