ref: f6187a0b64f4b48d8d710ae99c7738e72a6de42d
dir: /test/outparam-sl.myr/
use std
/* should assign a slice through an out param, returning exiting with 2 */
const arr = [1,2,3,4]
const f = {out
out# = arr[1:3]
}
const main = {
var v
f(&v)
-> v[0]
}