Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
consts
/
issue-67529.rs
blob: 39fca4112017a5c896b2cc0d6c03489caaa6071d [
file
] [
log
] [
blame
] [
edit
]
//@ compile-flags: -Z mir-opt-level=3
//@ 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
);
}