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

#write test.zig {
extern fn puts(s: [*:0]const u8) c_int;
export fn entry() void {
    const no_zero_array = [_]u8{ 'h', 'e', 'l', 'l', 'o' };
    const no_zero_ptr: [*]const u8 = &no_zero_array;
    _ = puts(no_zero_ptr);
}
#}
#update
#check errors {
test.zig:5:14: error: expected type '[*:0]const u8', found '[*]const u8'
test.zig:5:14: note: destination pointer requires '0' sentinel
test.zig:1:19: note: parameter type declared here
#}
