]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/slice-drop-shim.rs
Rollup merge of #99864 - klensy:bootstrap-art-dupe, r=jyn514
[rust.git] / src / test / mir-opt / slice-drop-shim.rs
1 // compile-flags: -Zmir-opt-level=0
2
3 // EMIT_MIR_FOR_EACH_BIT_WIDTH
4 // EMIT_MIR core.ptr-drop_in_place.[String].AddMovesForPackedDrops.before.mir
5 fn main() {
6     let _fn = std::ptr::drop_in_place::<[String]> as unsafe fn(_);
7 }