summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/derefer_complex_case.rs
blob: cc619879ef3a73a3d958c79c9fcc359b28951ea6 (plain)
1
2
3
4
5
6
7
// unit-test: Derefer
// EMIT_MIR derefer_complex_case.main.Derefer.diff
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY

fn main() {
    for &foo in &[42, 43] { drop(foo) }
}