2014-06-06 10:04:04 -05:00
|
|
|
// ignore-tidy-tab
|
|
|
|
|
|
|
|
static FOO: u8 = b'\f'; //~ ERROR unknown byte escape
|
|
|
|
|
|
|
|
pub fn main() {
|
|
|
|
b'\f'; //~ ERROR unknown byte escape
|
2021-01-23 14:48:31 -06:00
|
|
|
b'\x0Z'; //~ ERROR invalid character in numeric character escape: `Z`
|
2014-06-06 10:04:04 -05:00
|
|
|
b' '; //~ ERROR byte constant must be escaped
|
|
|
|
b'''; //~ ERROR byte constant must be escaped
|
2022-11-02 23:17:37 -05:00
|
|
|
b'é'; //~ ERROR non-ASCII character in byte literal
|
2020-06-12 07:01:53 -05:00
|
|
|
b'a //~ ERROR unterminated byte constant [E0763]
|
2014-06-06 10:04:04 -05:00
|
|
|
}
|