Skip to content

Commit

Permalink
testcase added for #3878
Browse files Browse the repository at this point in the history
  • Loading branch information
vertexclique committed Oct 30, 2012
1 parent bf792b9 commit 1dc4d02
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/test/run-pass/unused-move.rs
@@ -0,0 +1,9 @@
// Issue #3878
// Issue Name: Unused move causes a crash
// Abstract: zero-fill to block after drop

fn main()
{
let y = ~1;
move y;
}

0 comments on commit 1dc4d02

Please sign in to comment.