//ww:error "arithmetic on non-numeric type" // Lifted from test/wcc/948_idx_compound_run.c reject row "he_str_indexed" // (#133-expanded rule-7): a compound assign on an indexed STR element is // unwired in both stages and MUST loud-fail. The substring is the FULL shared // diagnostic body — byte-identical on both stages — pinned to "str element" so // it cannot also match the float row (no file:line / "ww: " prefix, which // differ cs vs ww). package main; export fn main() i32 = { let a: [4]str = ["a", "b", "c", "d"]; a[0] += "x"; return 0; };