1 2 3 4 5 6 7 8 9 10 11
// build-pass #![allow(dead_code)] struct A { a: &'static (), } static B: &'static A = &A { a: &() }; static C: &'static A = &B; fn main() {}