about summary refs log tree commit diff
path: root/src/tools/miri/tests/pass/drop_empty_slice.rs
blob: 0413ed1fd0c60ece2702e77dc3c5e0ae7f9b1ae5 (plain)
1
2
3
4
5
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::new(args);
}