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

#write test.zig {
export fn entry() void {
    _ = @as(*anyopaque, @ptrFromInt(~@as(usize, @import("std").math.maxInt(usize)) - 1));
}
#}
#update
#check errors {
test.zig:2:84: error: overflow of integer type 'usize' with value '-1'
#}
