2019-01-06 09:33:05 -06:00
|
|
|
// compile-flags: -Z continue-parse-after-error
|
2015-02-09 13:01:45 -06:00
|
|
|
|
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
|
2015-07-26 19:49:38 -05: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
|
|
|
|
b'é'; //~ ERROR byte constant must be ASCII
|
|
|
|
b'a //~ ERROR unterminated byte constant
|
|
|
|
}
|