shithub: mc

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