ref: 0c7eb9f0d093a78520e5cff889dc3fd9d7f6d4c7 dir: /test/slalloc.myr/
/* test the allocation of slices. should return 123 */ use std const main = { var sl : int[:] sl = std.slalloc(123) sl[0] = 42 sl[122] = 1 std.exit(sl.len) }