aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/assign_to_invalid_dereference.zig
blob: 98c6b0c4d94c9e677157c93b0d28472b56dfac42 (plain)
1
2
3
4
5
6
7
export fn entry() void {
    'a'.* = 1;
}

// error
//
// :2:8: error: cannot dereference non-pointer type 'comptime_int'