]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/issue-34194.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[rust.git] / src / test / ui / static / issue-34194.rs
1 // build-pass
2 #![allow(dead_code)]
3
4 struct A {
5     a: &'static (),
6 }
7
8 static B: &'static A = &A { a: &() };
9 static C: &'static A = &B;
10
11 fn main() {}