Sign in
fuchsia
/
third_party
/
rust
/
b3827e4f3728b77bd3e60587487ebfc3cc8d901b
/
.
/
tests
/
ui
/
consts
/
cycle-static-promoted.rs
blob: d648d048611899cb229e449947f0c3816869c826 [
file
] [
log
] [
blame
]
//@ check-pass
struct
Value
{
values
:
&
'static [&'
static
Value
],
}
// This `static` recursively points to itself through a promoted (the slice).
static
VALUE
:
Value
=
Value
{
values
:
&[&
VALUE
],
};
fn
main
()
{}