//ww:run-exit 70 package main; type th = struct { pc: size, matched: bool }; export fn main() i32 = { let xs: []th = []; append(xs, th { pc = 7, matched = true }); let e: th = xs[0]; if (e.pc != 7) { return 1; }; if (!e.matched) { return 2; }; return 70; };