master
1export fn f() void {
2    var cstr: []const u8 = "Hat";
3    cstr[0] = 'W';
4}
5
6// error
7//
8// :3:9: error: cannot assign to constant