]> git.proxmox.com Git - rustc.git/blame - src/test/run-pass/unused-move.rs
New upstream version 1.33.0+dfsg1
[rustc.git] / src / test / run-pass / unused-move.rs
CommitLineData
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
10pub fn main()
11{
c34b1796 12 let y: Box<_> = box 1;
223e47cc
LB
13 y;
14}