Sign in
rust
/
rust
/
97b1c314892ef4497c0ce5656daa3a54c4e052d3
/
.
/
tests
/
ui
/
codegen
/
issue-16602-1.rs
blob: 248050adb32e3ef61a938466ec2384cfdb241a32 [
file
]
//@ run-pass
fn
main
()
{
let
mut
t
=
[
1
;
2
];
t
=
[
t
[
1
]
*
2
,
t
[
0
]
*
2
];
assert_eq
!(&
t
[..],
&[
2
,
2
]);
}