9 lines
117 B
Rust
9 lines
117 B
Rust
// run-pass
|
|
#![feature(box_syntax)]
|
|
|
|
pub fn main() {
|
|
let mut x: Box<_> = box 3;
|
|
x = x;
|
|
assert_eq!(*x, 3);
|
|
}
|