summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/raw/raw-byte-string-literals.rs
blob: 1b859fee596adf6934dbbdcec51644c2442daf0a (plain)
1
2
3
4
5
6
7
// ignore-tidy-cr

pub fn main() {
    br"a
"; //~ ERROR bare CR not allowed in raw string
    br"é";  //~ ERROR non-ASCII character in raw byte string literal
    br##~"a"~##;  //~ ERROR only `#` is allowed in raw string delimitation
}