]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unique/unique-decl-move.rs
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[rust.git] / src / test / ui / unique / unique-decl-move.rs
1 // run-pass
2
3 pub fn main() {
4     let i: Box<_> = Box::new(100);
5     let j = i;
6     assert_eq!(*j, 100);
7 }