Sign in
fuchsia
/
third_party
/
rust
/
daafeb35b731a599fc8b6c4cf37b81f838dae319
/
.
/
src
/
test
/
ui
/
borrowck
/
borrowck-fixed-length-vecs.rs
blob: 126323d8d242bebf6eed84c5b478f66622e70012 [
file
] [
log
] [
blame
]
// run-pass
pub
fn
main
()
{
let
x
=
[
22
];
let
y
=
&
x
[
0
];
assert_eq
!(*
y
,
22
);
}