summaryrefslogtreecommitdiffstats
path: root/tests/ui/unique/unique-create.rs
blob: c566e79620a95f0f6beb4e9a590d5d39de5ac827 (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616

pub fn main() {
    let _: Box<_> = Box::new(100);
}

fn vec() {
    vec![0];
}