]> git.lizzy.rs Git - rust.git/blob - tests/ui/static/issue-34194.rs
Rollup merge of #106638 - RalfJung:realstd, r=thomcc
[rust.git] / tests / 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() {}