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

#write test.zig {
export fn entry() void {
    const w: i32 = 1234;
    var x: *const i32 = &w;
    var y: *[1]i32 = x;
    y[0] += 1;
    _ = &x;
}
#}
#update
#check errors {
test.zig:4:22: error: expected type '*[1]i32', found '*const i32'
test.zig:4:22: note: cast discards const qualifier
#}
