rust/tests/ui/box/unit/unique-create.rs

11 lines
115 B
Rust

//@ run-pass
#![allow(dead_code)]
pub fn main() {
let _: Box<_> = Box::new(100);
}
fn vec() {
vec![0];
}