summaryrefslogtreecommitdiffstats
path: root/src/test/mir-opt/slice-drop-shim.rs
blob: 344c1af2c91347c661ace0a5476d8dd05e5dd894 (plain)
1
2
3
4
5
6
7
// compile-flags: -Zmir-opt-level=0


// EMIT_MIR core.ptr-drop_in_place.[String].AddMovesForPackedDrops.before.mir
fn main() {
    let _fn = std::ptr::drop_in_place::<[String]> as unsafe fn(_);
}