Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 188 Bytes
// build-pass (FIXME(62277): could be check-pass?)
#![allow(dead_code)]
// pretty-expanded FIXME #23616
fn foo<T: 'static>(_: T) {}
fn bar<T>(x: &'static T) {
foo(x);
}
fn main() {}
You can’t perform that action at this time.