ref: 6565eb50cfcc4e11ed5e350cdae30dc861dc0a8e
dir: /test/slice.myr/
use std /* checks that taking slices of arrays works. should exit with 7 */ const main = { var a : int[3] var s s = a[:] s[0] = 3 s[1] = 4 s[2] = s[0] + s[1] + s.len std.exit(s[2]) }