rustc/tests/ui/box/alloc-unstable.rs
2024-06-14 12:43:07 +02:00

6 lines
97 B
Rust

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