mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-02 00:17:39 +00:00
7 lines
92 B
Rust
7 lines
92 B
Rust
//@ run-pass
|
|
|
|
pub fn main() {
|
|
let i: Box<_> = Box::new(100);
|
|
assert_eq!(*i, 100);
|
|
}
|