//ww:run-exit 68 package main; type box = struct { pc: size, matched: bool }; fn add(p: *[]box, v: size) void = { append(*p, box { pc = v, matched = false }); }; export fn main() i32 = { let bs: []box = []; add(&bs, 5); add(&bs, 9); if (len(bs) != 2) { return 1; }; if (bs[0].pc != 5) { return 2; }; if (bs[1].pc != 9) { return 3; }; return 68; };