aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/invalid_legacy_unicode_escape.zig
blob: cc4e78f6e4edca2208d13b10ac87135cf04d0208 (plain)
1
2
3
4
5
6
7
8
9
10
export fn entry() void {
    const a = '\U1234';
}

// error
// backend=stage2
// target=native
//
// :2:15: error: expected expression, found 'invalid bytes'
// :2:18: note: invalid byte: '1'