blob: 030ddbc563a297eeafb218f3cae61ab79ef165b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//@ check-pass
#![allow(dead_code)]
struct Foo(bool);
struct Container(&'static [&'static Foo]);
static FOO: Foo = Foo(true);
static CONTAINER: Container = Container(&[&FOO]);
fn main() {}
|