summary refs log tree commit diff
path: root/tests/ui/box/unit/unique-create.rs
blob: bf3826156b1d4527c0465280d2021e9c12700f31 (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];
}