2023-10-16 12:36:39 -05:00
|
|
|
// skip-filecheck
|
2022-08-02 19:44:25 -05:00
|
|
|
//@ unit-test: Derefer
|
2022-04-16 08:03:14 -05:00
|
|
|
// EMIT_MIR derefer_complex_case.main.Derefer.diff
|
2023-06-08 02:18:34 -05:00
|
|
|
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
2022-04-16 08:03:14 -05:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
for &foo in &[42, 43] { drop(foo) }
|
|
|
|
}
|