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

5 lines
156 B
Rust

pub fn main() {
let s1 = "\u{d805}"; //~ ERROR invalid unicode character escape
let s2 = "\u{ffffff}"; //~ ERROR invalid unicode character escape
}