rust/tests/run-pass/zst_box.rs

9 lines
131 B
Rust

fn main() {
let x = Box::new(());
let y = Box::new(());
drop(y);
let z = Box::new(());
drop(x);
drop(z);
}