rust/tests/ui/box/alloc-unstable.rs

6 lines
98 B
Rust

//@ run-pass
#![feature(allocator_api)]
fn main() {
let _boxed: Box<u32, _> = Box::new(10);
}