]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unique/unique-move.rs
Rollup merge of #88436 - lf-:stabilize-command-access, r=yaahc
[rust.git] / src / test / ui / unique / unique-move.rs
1 // run-pass
2 #![allow(unused_mut)]
3
4 pub fn main() {
5     let i: Box<_> = Box::new(100);
6     let mut j;
7     j = i;
8     assert_eq!(*j, 100);
9 }