1 // Check that taking the address of an argument yields a lifetime
2 // bounded by the current function call.
5 let _p: &'static isize = &a; //~ ERROR `a` does not live long enough
12 fn zed<'a>(a: isize) -> &'a isize {
13 &a //~ ERROR cannot return reference to function parameter `a`