]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/byte-string-literals.rs
Merge branch 'debian/experimental2' into debian/experimental
[rustc.git] / src / test / ui / parser / byte-string-literals.rs
1 static FOO: &'static [u8] = b"\f"; //~ ERROR unknown byte escape
2
3 pub fn main() {
4 b"\f"; //~ ERROR unknown byte escape
5 b"\x0Z"; //~ ERROR invalid character in numeric character escape: `Z`
6 b"é"; //~ ERROR non-ASCII character in byte constant
7 br##"é"##; //~ ERROR raw byte string must be ASCII
8 b"a //~ ERROR unterminated double quote byte string
9 }