rust/tests/mir-opt/building/issue_101867.rs

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

9 lines
163 B
Rust
Raw Normal View History

// skip-filecheck
// EMIT_MIR issue_101867.main.built.after.mir
2022-09-16 06:54:41 -05:00
fn main() {
let x: Option<u8> = Some(1);
let Some(y) = x else {
panic!();
};
}