testcase added for #3878

This commit is contained in:
Mahmut Bulut 2012-10-31 00:05:34 +02:00
parent bf792b922c
commit 1dc4d024a8
1 changed files with 9 additions and 0 deletions

View File

@ -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;
}