ref: 34c3e5b0116a5283433c9cf6c3484ee6967e3030 dir: /test/slice.myr/
/* 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 -> s[2] }