#zig build-obj {
--name test -fno-emit-bin
-Mroot=test.zig
#}

#write test.zig {
const Foo = struct {};
const Bar = struct {};

export fn entry() void {
    var Bar: i32 = undefined;
    _ = Bar;
}
#}
#update
#check errors {
test.zig:5:9: error: local variable shadows declaration of 'Bar'
test.zig:2:1: note: declared here
#}
