zig/test/cases/compile_errors/invalid_unicode_escape.zig
gooncreeper c50f300387 Tokenizer bug fixes and improvements
Fixes many error messages corresponding to invalid bytes displaying the
wrong byte. Additionaly improves handling of UTF-8 in some places.
2024-07-15 11:31:19 +03:00

12 lines
197 B
Zig

export fn entry() void {
const a = '\u{12z34}';
}
// error
// backend=stage2
// target=native
//
// :2:15: error: expected expression, found 'invalid bytes'
// :2:21: note: invalid byte: 'z'