]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/ascii-only-character-escape.rs
New upstream version 1.42.0+dfsg1
[rustc.git] / src / test / ui / parser / ascii-only-character-escape.rs
1 fn main() {
2 let x = "\x80"; //~ ERROR may only be used
3 let y = "\xff"; //~ ERROR may only be used
4 let z = "\xe2"; //~ ERROR may only be used
5 let a = b"\x00e2"; // ok because byte literal
6 }