ref: 3dc71f6baaf6ff6a7e5a41fd89ea3ec2c7bdf88c
dir: /test/slgrow.myr/
/* checks that our slice grow function works. exits with 42. */
use std
const main = {
var sl
sl = std.slalloc(42)
sl[0] = 12
sl = std.slgrow(sl, 123)
sl[122] = 30
-> sl[0] + sl[122]
}