2019-07-27 00:54:25 +03:00
|
|
|
//@ run-pass
|
2012-10-31 00:05:34 +02:00
|
|
|
// Issue #3878
|
|
|
|
// Issue Name: Unused move causes a crash
|
|
|
|
// Abstract: zero-fill to block after drop
|
|
|
|
|
2015-03-22 13:13:15 -07:00
|
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
|
2016-08-13 02:41:43 -07:00
|
|
|
#![allow(path_statements)]
|
2013-08-17 08:37:42 -07:00
|
|
|
|
2021-08-25 02:39:40 +02:00
|
|
|
pub fn main() {
|
|
|
|
let y: Box<_> = Box::new(1);
|
2013-02-15 02:44:18 -08:00
|
|
|
y;
|
2013-02-14 11:47:00 -08:00
|
|
|
}
|