summary refs log tree commit diff
path: root/src/test/ui/parser/new-unicode-escapes-4.rs
blob: b871000ac1284785d50afe4e6f8d9ed9fc4686f2 (plain)
1
2
3
4
5
6
// compile-flags: -Z continue-parse-after-error

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