Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
parser
/
ascii-only-character-escape.rs
blob: 725c8ad23515e615e6bf717487cf346806a920c8 [
file
] [
log
] [
blame
]
fn
main
()
{
let
x
=
"\x80"
;
//~ ERROR out of range hex escape
let
y
=
"\xff"
;
//~ ERROR out of range hex escape
let
z
=
"\xe2"
;
//~ ERROR out of range hex escape
let
a
=
b
"\x00e2"
;
// ok because byte literal
}