summaryrefslogtreecommitdiffstats
path: root/tests/ui/unpretty/box.stdout
blob: 0c6e012e698f9f59ac89943d9f70ef1ec8d39ec9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// compile-flags: -Zunpretty=hir
// check-pass

#![feature(stmt_expr_attributes, rustc_attrs)]
#[prelude_import]
use ::std::prelude::rust_2015::*;
#[macro_use]
extern crate std;

fn main() {
        let _ =
            #[rustc_box]
            Box::new(1);
    }