rust/tests/run-pass/drop_empty_slice.rs

8 lines
184 B
Rust

#![feature(box_syntax)]
fn main() {
// With the nested Vec, this is calling Offset(Unique::empty(), 0) on drop.
let args : Vec<Vec<i32>> = Vec::new();
let _ = box args;
}