rust/tests/ui/static/issue-34194.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
149 B
Rust
Raw Normal View History

// build-pass
2016-06-18 13:05:44 -05:00
#![allow(dead_code)]
struct A {
a: &'static (),
}
static B: &'static A = &A { a: &() };
static C: &'static A = &B;
fn main() {}