mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
15 lines
265 B
Plaintext
15 lines
265 B
Plaintext
//@ 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);
|
|
}
|