blob: 7fdc4b1ee5b54117cdd0bcd07d2753627f2f2887 [file] [log] [blame]
// build-pass (FIXME(62277): could be 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() {}