summary refs log tree commit diff
path: root/src/test/ui/unique/unique-create.rs
blob: 3df0f7d55fd5849a40c7d78c8bb45a900c962220 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// run-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616

#![feature(box_syntax)]

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

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