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

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