]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/raw/raw-byte-string-literals.rs
Merge commit '8da837185714cefbb261e93e9846afb11c1dc60e' into sync-rustfmt-subtree
[rust.git] / src / test / ui / parser / raw / raw-byte-string-literals.rs
1 // ignore-tidy-cr
2
3 pub fn main() {
4     br"a\r"; //~ ERROR bare CR not allowed in raw string
5     br"é";  //~ ERROR raw byte string must be ASCII
6     br##~"a"~##;  //~ ERROR only `#` is allowed in raw string delimitation
7 }