ref: 7b625e88ac4f7d8bb5805efa498b29640f36eb80
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)
std.exit(v[0])
}