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

#write test.zig {
fn f(a: i32) void {
    const a = 0;
}
export fn entry() void {
    f(1);
}
#}
#update
#check errors {
test.zig:2:11: error: local constant 'a' shadows function parameter from outer scope
test.zig:1:6: note: previous declaration here
#}
