Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-31267.rs
blob: 50843c89eb4a842fec1a42b9cb086c99c520b2a0 [
file
] [
log
] [
blame
]
// run-pass
// Regression test for issue #31267
struct
Foo
;
impl
Foo
{
const
FOO
:
[
i32
;
3
]
=
[
0
;
3
];
}
pub
fn
main
()
{
let
foo
=
Foo
::
FOO
;
assert_eq
!(
foo
,
[
0i32
,
0
,
0
]);
}