Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
5f62a35bae82dd0c5ff9dedd83fe2cfd74b67792
/
.
/
tests
/
ui
/
char.rs
blob: a7842f16fa7a68905c2f93d66eb7daf9357cbcb7 [
file
] [
log
] [
blame
]
//@ run-pass
pub
fn
main
()
{
let
c
:
char
=
'x'
;
let
d
:
char
=
'x'
;
assert_eq
!(
c
,
'x'
);
assert_eq
!(
'x'
,
c
);
assert_eq
!(
c
,
c
);
assert_eq
!(
c
,
d
);
assert_eq
!(
d
,
c
);
assert_eq
!(
d
,
'x'
);
assert_eq
!(
'x'
,
d
);
}