Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
unsized-locals
/
simple-unsized-locals.rs
blob: 02b7c299aa40a35f1be9e424e21cf40d37cd1b89 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
incomplete_features
)]
#![
feature
(
unsized_locals
)]
fn
main
()
{
let
foo
:
Box
<[
u8
]>
=
Box
::
new
(*
b
"foo"
);
let
_foo
:
[
u8
]
=
*
foo
;
}