summaryrefslogtreecommitdiffstats
path: root/tests/ui/static/issue-34194.rs
blob: 6dce556e9e3849c0488e5e03bf88cac052d9c4ca (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() {}