| 1 | const Foo = struct {}; |
| 2 | const Bar = struct {}; |
| 3 | |
| 4 | export fn entry() void { |
| 5 | var Bar: i32 = undefined; |
| 6 | _ = Bar; |
| 7 | } |
| 8 | |
| 9 | // error |
| 10 | // |
| 11 | // :5:9: error: local variable shadows declaration of 'Bar' |
| 12 | // :2:1: note: declared here |