testcase added for #3878
This commit is contained in:
parent
bf792b922c
commit
1dc4d024a8
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue