]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/pass/drop_empty_slice.rs
Add 'src/tools/miri/' from commit '75dd959a3a40eb5b4574f8d2e23aa6efbeb33573'
[rust.git] / src / tools / miri / tests / pass / drop_empty_slice.rs
1 #![feature(box_syntax)]
2
3 fn main() {
4     // With the nested Vec, this is calling Offset(Unique::empty(), 0) on drop.
5     let args: Vec<Vec<i32>> = Vec::new();
6     let _val = box args;
7 }