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

#write test.zig {
export fn foo() void {
    var x: [10]u8 = undefined;
    const y = &x;
    const z = y + 1;
    _ = z;
}
#}
#update
#check errors {
test.zig:4:17: error: incompatible types: '*[10]u8' and 'comptime_int'
test.zig:4:15: note: type '*[10]u8' here
test.zig:4:19: note: type 'comptime_int' here
#}
