mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-02 04:57:35 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
7 lines
94 B
Rust
7 lines
94 B
Rust
//@ run-pass
|
|
|
|
pub fn main() {
|
|
let x: Box<isize> = Box::new(10);
|
|
let _y: isize = *x;
|
|
}
|