about summary refs log tree commit diff
path: root/tests/ui/static/issue-34194.rs
blob: e3faa567b2a447bdfeb9343baaed75314b440fbb (plain)
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() {}