]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/pass/move-arg-3-unique.rs
Auto merge of #101837 - scottmcm:box-array-from-vec, r=m-ou-se
[rust.git] / src / tools / miri / tests / pass / move-arg-3-unique.rs
1 #![feature(box_syntax)]
2
3 pub fn main() {
4     let x = box 10;
5     let y = x;
6     assert_eq!(*y, 10);
7 }