summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-12744.rs
blob: e2756ec970c39d7713956ef1b9971f94b83dc4ab (plain)
1
2
3
4
5
// run-pass
fn main() {
    fn test() -> Box<dyn std::any::Any + 'static> { Box::new(1) }
    println!("{:?}", test())
}