]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/slice_drop_shim.rs
Auto merge of #102842 - rol1510:issue-85566-fix, r=notriddle
[rust.git] / tests / mir-opt / slice_drop_shim.rs
1 // compile-flags: -Zmir-opt-level=0
2
3
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 }