]>
Commit | Line | Data |
---|---|---|
223e47cc LB |
1 | // Issue #3878 |
2 | // Issue Name: Unused move causes a crash | |
3 | // Abstract: zero-fill to block after drop | |
4 | ||
c34b1796 AL |
5 | // pretty-expanded FIXME #23616 |
6 | ||
5bcae85e | 7 | #![allow(path_statements)] |
1a4d82fc JJ |
8 | #![feature(box_syntax)] |
9 | ||
223e47cc LB |
10 | pub fn main() |
11 | { | |
c34b1796 | 12 | let y: Box<_> = box 1; |
223e47cc LB |
13 | y; |
14 | } |