about summary refs log tree commit diff
path: root/tests/ui/box/unit/unique-decl.rs
blob: 1ff5c9007f4d2202425ff89efb0e8fc56804cc1c (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ run-pass
#![allow(dead_code)]


pub fn main() {
    let _: Box<isize>;
}

fn f(_i: Box<isize>) -> Box<isize> {
    panic!();
}