Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
consts
/
const-eval
/
issue-47971.rs
blob: 74eac963408ca47f8d25111a55c4018ee3bd8200 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
struct
S
(
pub
&
'
static
u32
,
pub
u32
);
const
fn
g
(
ss
:
&
S
)
->
&
u32
{
&
ss
.
1
}
static
T
:
S
=
S
(
g
(&
T
),
0
);
fn
main
()
{
}