]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/issue-34194.rs
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[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() {}