Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
unique
/
unique-cmp.rs
blob: 7bbc61d25ac780665a8db9ce4503eb26ab296f83 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
unused_allocation
)]
#![
feature
(
box_syntax
)]
pub
fn
main
()
{
let
i
:
Box
<
_
>
=
box
100
;
assert_eq
!(
i
,
box
100
);
assert
!(
i
<
box
101
);
assert
!(
i
<=
box
100
);
assert
!(
i
>
box
99
);
assert
!(
i
>=
box
99
);
}