rust/src/test/run-pass/drop-on-empty-block-exit.rs

6 lines
80 B
Rust

enum t { foo(@int), }
fn main() { let tt = foo(@10); alt tt { foo(z) { } } }