//ww:compile // INFERRED-global *struct root: the letvartnode gate must accept the // checker-synthesized N_TPTR-over-N_TSTRUCT exactly as the local arm. package main; type box = struct { s: str, n: int }; let gp = alloc(box { s = "hi", n = 1 })!; export fn main() i32 = { if (gp.s.len != 2) { return 1; }; return 0; };