]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/issue-34194.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[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() {}