rust/tests/mir-opt/issue_73223.rs
2023-01-11 09:32:08 +00:00

13 lines
211 B
Rust

fn main() {
let split = match Some(1) {
Some(v) => v,
None => return,
};
let _prev = Some(split);
assert_eq!(split, 1);
}
// EMIT_MIR issue_73223.main.SimplifyArmIdentity.diff