//ww:run-exit 72 package main; type box = struct { pc: size, matched: bool }; export fn main() i32 = { let xs: []i64 = []; append(xs, 7); append(xs, 8, 9); let ys: []i64 = []; append(ys, xs...); let ss: []str = []; append(ss, "hi"); let ps: []box = []; append(ps, box { pc = 1, matched = false }); if (len(xs) != 3 || xs[2] != 9) { return 1; }; if (len(ys) != 3 || ys[0] != 7) { return 2; }; if (len(ss) != 1 || len(ps) != 1) { return 3; }; return 72; };