]> git.proxmox.com Git - rustc.git/blame - src/test/ui/parser/raw-byte-string-literals.rs
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / parser / raw-byte-string-literals.rs
CommitLineData
dc9dc135 1// ignore-tidy-cr
dfeec247 2
223e47cc 3pub fn main() {
dc9dc135 4 br"a\r"; //~ ERROR bare CR not allowed in raw string
c30ab7b3
SL
5 br"é"; //~ ERROR raw byte string must be ASCII
6 br##~"a"~##; //~ ERROR only `#` is allowed in raw string delimitation
223e47cc 7}