1 2 3 4 5 6 7 8 9 10
export fn entry() void { const x = 'a'.*[0..]; _ = x; } // error // backend=stage2 // target=native // // :2:18: error: cannot dereference non-pointer type 'comptime_int'