rust/tests/ui/unpretty/box.rs
2024-02-16 20:02:50 +00:00

10 lines
154 B
Rust

//@ compile-flags: -Zunpretty=hir
//@ check-pass
#![feature(stmt_expr_attributes, rustc_attrs)]
fn main() {
let _ = #[rustc_box]
Box::new(1);
}