//@ run-pass //@ compile-flags:-Zpolymorphize=on fn fop() {} fn bar() -> &'static fn() { &(fop:: as fn()) } pub const FN: &'static fn() = &(fop:: as fn()); fn main() { bar::(); bar::(); (FN)(); }