1 // Test that the fake borrows for matches are removed after borrow checking.
3 // ignore-wasm32-bare compiled with panic=abort by default
5 // EMIT_MIR remove_fake_borrows.match_guard.CleanupNonCodegenStatements.diff
6 fn match_guard(x: Option<&&i32>, c: bool) -> i32 {
14 match_guard(None, true);