rust/tests/ui/box/alloc-unstable.rs
2023-01-11 09:32:08 +00:00

9 lines
120 B
Rust

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