summaryrefslogtreecommitdiffstats
path: root/tests/ui/regions/owned-implies-static.rs
blob: 2efa8cc02f425807e201b6c57a8821980c5c9b06 (plain)
1
2
3
4
5
6
7
8
// run-pass
// pretty-expanded FIXME #23616

fn f<T: 'static>(_x: T) {}

pub fn main() {
    f(Box::new(5));
}