Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
consts
/
issue-67529.rs
blob: df4bc668bee176d5276bd3e0cd599003f9fcecec [
file
] [
log
] [
blame
]
// compile-flags: -Z mir-opt-level=2
// run-pass
struct
Baz
<
T
:
?
Sized
>
{
a
:
T
}
fn
main
()
{
let
d
:
Baz
<[
i32
;
4
]>
=
Baz
{
a
:
[
1
,
2
,
3
,
4
]
};
assert_eq
!([
1
,
2
,
3
,
4
],
d
.
a
);
}