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

#write test.zig {
export fn f() void {
    const a: i32 = 0;
    var a = 0;
}
#}
#update
#check errors {
test.zig:3:9: error: redeclaration of local constant 'a'
test.zig:2:11: note: previous declaration here
#}
