rust/tests/ui/box/alloc-unstable.rs
2024-02-16 20:02:50 +00:00

6 lines
98 B
Rust

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