rust/tests/run-pass/drop_empty_slice.rs
2018-11-26 15:31:53 +01:00

8 lines
187 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 _val = box args;
}