rust/src/test/run-pass/unused-move.rs
2012-10-31 00:05:34 +02:00

9 lines
142 B
Rust

// Issue #3878
// Issue Name: Unused move causes a crash
// Abstract: zero-fill to block after drop
fn main()
{
let y = ~1;
move y;
}