rust/tests/ui/parser/new-unicode-escapes-4.rs

5 lines
98 B
Rust

pub fn main() {
let s = "\u{lol}";
//~^ ERROR invalid character in unicode escape: `l`
}