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

#write test.zig {
const Foo = struct {
    a: i32 = crap,
    b: i32,
};
export fn entry() void {
    const x: Foo = .{
        .b = 5,
    };
    _ = x;
}
#}
#update
#check errors {
test.zig:2:14: error: use of undeclared identifier 'crap'
#}
