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

#write test.zig {
export fn entry() void {
    const x = 'a'.*[0..];
    _ = x;
}
#}
#update
#check errors {
test.zig:2:18: error: cannot dereference non-pointer type 'comptime_int'
#}
