2 // Tests for an LLVM abort when storing a lifetime-parametric fn into
3 // context that is expecting one that is not lifetime-parametric
4 // (i.e., has no `for <'_>`).
6 pub struct A<'a>(&'a ());
9 pub fn bad<'s>(v: &mut S<fn(A<'s>)>, y: S<for<'b> fn(A<'b>)>) {