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

#write test.zig {
const Item = struct {
    field: SomeNonexistentType,
};
var items: [100]Item = undefined;
export fn entry() void {
    const a = items[0];
    _ = a;
}
#}
#update
#check errors {
test.zig:2:12: error: use of undeclared identifier 'SomeNonexistentType'
#}
