rust/src/test/ui/issues/issue-34194.rs
2018-12-25 21:08:33 -07:00

12 lines
151 B
Rust

// compile-pass
#![allow(dead_code)]
struct A {
a: &'static (),
}
static B: &'static A = &A { a: &() };
static C: &'static A = &B;
fn main() {}