]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-3290.rs
Rollup merge of #106867 - sunfishcode:sunfishcode/std-os-fd-stable-version, r=m-ou-se
[rust.git] / tests / ui / issues / issue-3290.rs
1 // run-pass
2 #![allow(dead_code)]
3
4 pub fn main() {
5    let mut x: Box<_> = Box::new(3);
6    x = x;
7    assert_eq!(*x, 3);
8 }