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