// neg_forrange_single — `for (let shadowmod .. s)` single-binding // range loop where the loop variable shadows the imported module. // N_FORRANGE wires check_module_shadow on the single-name branch // (n->str), so the rule fires at the for header. package paramshadowmod; import shadowmod; export fn main() i32 = { let s: str = "abc"; let total: i32 = 0i32; for (let shadowmod .. s) { total += shadowmod: i32; }; return total; };