summaryrefslogtreecommitdiffstats
path: root/tests/ui/box/alloc-unstable.rs
blob: 66388d0d5126c9e4952a6fb46d570105540e36f8 (plain)
1
2
3
4
5
6
7
8
// run-pass
#![feature(allocator_api)]

use std::boxed::Box;

fn main() {
    let _boxed: Box<u32, _> = Box::new(10);
}