rust/tests/mir-opt/issue_73223.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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