mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 12:07:40 +00:00
7 lines
121 B
Rust
7 lines
121 B
Rust
// run-pass
|
|
|
|
pub fn main() {
|
|
let vect : Vec<Box<_>> = vec![Box::new(100)];
|
|
assert_eq!(vect[0], Box::new(100));
|
|
}
|