rust/tests/ui/box/unit/unique-decl.rs
2024-02-16 20:02:50 +00:00

12 lines
131 B
Rust

//@ run-pass
#![allow(dead_code)]
pub fn main() {
let _: Box<isize>;
}
fn f(_i: Box<isize>) -> Box<isize> {
panic!();
}