Sign in
fuchsia
/
third_party
/
rust
/
917b0b6c70f078cb08bbb0080c9379e4487353c3
/
.
/
src
/
tools
/
miri
/
tests
/
pass
/
recursive_static.rs
blob: 77f2902917a1c21e22be8376ce8c82a2e5950332 [
file
] [
log
] [
blame
]
struct
S
(&
'
static
S
);
static
S1
:
S
=
S
(&
S2
);
static
S2
:
S
=
S
(&
S1
);
fn
main
()
{
let
p
:
*
const
S
=
S2
.
0
;
let
q
:
*
const
S
=
&
S1
;
assert_eq
!(
p
,
q
);
}