rust/src/test/run-pass/unused-move.rs

9 lines
142 B
Rust
Raw Normal View History

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