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

#write test.zig {
comptime {
    var c_ptr: [*c]u8 = 0;
    const zig_ptr: *u8 = c_ptr;
    _ = &c_ptr;
    _ = zig_ptr;
}
#}
#update
#check errors {
test.zig:3:26: error: null pointer casted to type '*u8'
#}
