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

#write test.zig {
export fn entry(y: u8) void {
    const Thing = struct {
        y: u8 = y,
    };
    _ = Thing{ .y = 1 };
}
#}
#update
#check errors {
test.zig:3:17: error: 'y' not accessible outside function scope
#}
