]> git.proxmox.com Git - rustc.git/blame - src/test/ui/moves/move-2.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / moves / move-2.rs
CommitLineData
b7449926 1// run-pass
0bf4aa26 2#![allow(dead_code)]
223e47cc 3
c34b1796 4struct X { x: isize, y: isize, z: isize }
223e47cc 5
c295e0f8 6pub fn main() { let x: Box<_> = Box::new(X {x: 1, y: 2, z: 3}); let y = x; assert_eq!(y.y, 2); }