rust/tests/ui/unpretty/box.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
139 B
Rust
Raw Normal View History

2025-01-02 20:22:42 +00:00
//@ compile-flags: -Zunpretty=thir-tree
//@ check-pass
2025-01-02 20:22:42 +00:00
#![feature(liballoc_internals)]
fn main() {
2025-01-02 20:22:42 +00:00
let _ = std::boxed::box_new(1);
}