2022-08-02 17:44:25 -07:00
|
|
|
// unit-test: 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) }
|
|
|
|
}
|