]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-3290.rs
Rollup merge of #97149 - ChrisDenton:win_async_pipes, r=m-ou-se
[rust.git] / src / test / ui / issues / issue-3290.rs
1 // run-pass
2 #![feature(box_syntax)]
3 #![allow(dead_code)]
4
5 pub fn main() {
6    let mut x: Box<_> = box 3;
7    x = x;
8    assert_eq!(*x, 3);
9 }