Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
consts
/
const-eval
/
issue-47971.rs
blob: 9d7b05cd232b57499f5851b4529e17458d1ad225 [
file
] [
log
] [
blame
]
// compile-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
()
{
}