ref: bf98a2d447a80ce0234b1b1d6db4232e2b4bbe4c dir: /test/slicelen.myr/
use std /* checks that taking incomplete slices calculates the length correctly. * should exit with 5. */ const main = { var a : int[8] var s s = a[1:6] std.exit(s.len) }