Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
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
]);
}