2023-10-16 17:36:39 +00:00
|
|
|
// skip-filecheck
|
2024-04-20 13:19:34 +02:00
|
|
|
//@ test-mir-pass: Derefer
|
2022-04-16 16:03:14 +03:00
|
|
|
// EMIT_MIR derefer_complex_case.main.Derefer.diff
|
2023-06-08 09:18:34 +02:00
|
|
|
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
2022-04-16 16:03:14 +03:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
for &foo in &[42, 43] { drop(foo) }
|
|
|
|
}
|