ref: ca311f0bd83c9d72848f5361a3f1736c7bb751da 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) }