10 lines
356 B
Rust
10 lines
356 B
Rust
// compile-flags: -Z continue-parse-after-error
|
|
|
|
static FOO: &'static [u8] = b"\f"; //~ ERROR unknown byte escape
|
|
|
|
pub fn main() {
|
|
b"\f"; //~ ERROR unknown byte escape
|
|
b"\x0Z"; //~ ERROR invalid character in numeric character escape: Z
|
|
b"é"; //~ ERROR byte constant must be ASCII
|
|
b"a //~ ERROR unterminated double quote byte string
|
|
}
|