summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/building/issue_101867.rs
blob: a32d8cb37142c84fe57b503718d0e56b0d575cbd (plain)
1
2
3
4
5
6
7
// EMIT_MIR issue_101867.main.built.after.mir
fn main() {
    let x: Option<u8> = Some(1);
    let Some(y) = x else {
        panic!();
    };
}