ref: d77ea4e5a34e9a7a54ed1302dcd0d0c9ef13fda9
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
-> s[2]
}