Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
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
);
}