]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/raw-byte-string-literals.rs
Rollup merge of #61724 - aschampion:128-bit-memcmp, r=sfackler
[rust.git] / src / test / ui / parser / raw-byte-string-literals.rs
1 // ignore-tidy-cr
2 // compile-flags: -Z continue-parse-after-error
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 }