]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/issue-34194.rs
Rollup merge of #102239 - joshtriplett:style-guide, r=calebcartwright
[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() {}