Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
static
/
issue-34194.rs
blob: e3faa567b2a447bdfeb9343baaed75314b440fbb [
file
] [
log
] [
blame
]
//@ build-pass
#![
allow
(
dead_code
)]
struct
A
{
a
:
&
'
static
(),
}
static
B
:
&
'
static
A
=
&
A
{
a
:
&()
};
static
C
:
&
'
static
A
=
&
B
;
fn
main
()
{}