blob: 13e9fa9ea6743802707e4f46aa31374e3ebb28f7 [file] [log] [blame]
static FOO: u32 = 50;
fn main() {
let _val: &'static [&'static u32] = &[&FOO]; //~ ERROR borrowed value does not live long enough
}