Sign in
fuchsia
/
third_party
/
rust
/
a22e9ee8d0801f9738533b76a492e94065767cbc
/
.
/
src
/
test
/
ui
/
deref-rc.rs
blob: 9b4c63b1925654c75e6f3243c0406a006286e003 [
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
]);
}