1 2 3 4 5 6 7 8 9 10
// check-pass #![allow(dead_code)] // pretty-expanded FIXME #23616 fn foo<T: 'static>(_: T) {} fn bar<T>(x: &'static T) { foo(x); } fn main() {}