Sign in
fuchsia
/
third_party
/
rust
/
7ce25144195196d8b9f8d058490720ee0677798c
/
.
/
src
/
test
/
ui
/
parser
/
lex-bad-char-literals-5.rs
blob: 0c4339edc4fa7f9d17dea6da00e97f56d0b941ed [
file
] [
log
] [
blame
]
static
c
:
char
=
'\x10\x10'
;
//~^ ERROR: character literal may only contain one codepoint
fn
main
()
{
let
ch
:
&
str
=
'\x10\x10'
;
//~^ ERROR: character literal may only contain one codepoint
}