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

#write test.zig {
export fn foo() void {
    comptime var T: type = undefined;
    _ = &T;
    const S = struct { x: *T };
    const I = @typeInfo(S);
    _ = I;
}
#}
#update
#check errors {
test.zig:4:28: error: use of undefined value here causes illegal behavior
#}
