summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-7268.rs
blob: 309176fb0c55715e5f149dd175cc631281cc1ebc (plain)
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() {}