Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
issues
/
issue-52060.rs
blob: 13b914c0331d1a29d559174aecc2843297b12c43 [
file
] [
log
] [
blame
]
// Regression test for https://github.com/rust-lang/rust/issues/52060
// The compiler shouldn't ICE in this case
static
A
:
&
'
static
[
u32
]
=
&[
1
];
static
B
:
[
u32
;
1
]
=
[
0
;
A
.
len
()];
//~^ ERROR [E0013]
fn
main
()
{}