rustc/tests/ui/box/alloc-unstable.rs
2024-06-21 09:39:33 +02:00

6 lines
98 B
Rust

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