Sign in
fuchsia
/
third_party
/
rust
/
2c4bf249bd47f232de3c1e78ffe69b40c29bfcca
/
.
/
tests
/
ui
/
deref-rc.rs
blob: 92fdd90035924581b410d8115521be6f5b223331 [
file
] [
log
] [
blame
]
//@ run-pass
use
std
::
rc
::
Rc
;
fn
main
()
{
let
x
=
Rc
::
new
([
1
,
2
,
3
,
4
]);
assert_eq
!(*
x
,
[
1
,
2
,
3
,
4
]);
}