2 // Test that region inference correctly links up the regions when a
3 // `ref` borrow occurs inside a fn argument.
5 // pretty-expanded FIXME #23616
9 fn with<'a, F>(_: F) where F: FnOnce(&'a Vec<isize>) -> &'a Vec<isize> { }
12 with(|&ref ints| ints);