1
Fork 0
rust/src/test/ui/parser/raw-byte-string-literals.rs

8 lines
268 B
Rust
Raw Normal View History

2019-05-13 20:21:44 +02:00
// ignore-tidy-cr
// compile-flags: -Z continue-parse-after-error
pub fn main() {
2019-06-10 17:32:15 +02:00
br"a "; //~ ERROR bare CR not allowed in raw string
br"é"; //~ ERROR raw byte string must be ASCII
br##~"a"~##; //~ ERROR only `#` is allowed in raw string delimitation
}