]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/slice-drop-shim.rs
Auto merge of #98957 - RalfJung:zst-are-different, r=lcnr,oli-obk
[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 }