2014-06-06 15:04:04 +00: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 20:48:31 +00:00
|
|
|
b'\x0Z'; //~ ERROR invalid character in numeric character escape: `Z`
|
2014-06-06 15:04:04 +00:00
|
|
|
b' '; //~ ERROR byte constant must be escaped
|
|
|
|
b'''; //~ ERROR byte constant must be escaped
|
2022-11-03 04:17:37 +00:00
|
|
|
b'é'; //~ ERROR non-ASCII character in byte literal
|
2020-06-12 12:01:53 +00:00
|
|
|
b'a //~ ERROR unterminated byte constant [E0763]
|
2014-06-06 15:04:04 +00:00
|
|
|
}
|