Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
consts
/
is_ascii.rs
blob: d8424549f93e6b29f9bf61d68fa31e540ee7aa3d [
file
] [
log
] [
blame
]
// run-pass
static
X
:
bool
=
'a'
.
is_ascii
();
static
Y
:
bool
=
'รค'
.
is_ascii
();
static
BX
:
bool
=
b
'a'
.
is_ascii
();
static
BY
:
bool
=
192u8.is
_ascii
();
fn
main
()
{
assert
!(
X
);
assert
!(!
Y
);
assert
!(
BX
);
assert
!(!
BY
);
}