mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
7 lines
122 B
Rust
7 lines
122 B
Rust
//@ run-pass
|
|
|
|
pub fn main() {
|
|
let vect : Vec<Box<_>> = vec![Box::new(100)];
|
|
assert_eq!(vect[0], Box::new(100));
|
|
}
|