rust/tests/mir-opt/issue_73223.rs

13 lines
211 B
Rust
Raw Normal View History

fn main() {
let split = match Some(1) {
Some(v) => v,
None => return,
};
let _prev = Some(split);
assert_eq!(split, 1);
}
2020-07-27 14:22:43 -05:00
// EMIT_MIR issue_73223.main.SimplifyArmIdentity.diff