Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
borrowck
/
borrowck-fixed-length-vecs.rs
blob: 3441ae0e3bba9d7ab5854f17c0a58c95adffda0d [
file
] [
log
] [
blame
]
//@ run-pass
pub
fn
main
()
{
let
x
=
[
22
];
let
y
=
&
x
[
0
];
assert_eq
!(*
y
,
22
);
}