summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/asm_unwind_panic_abort.main.AbortUnwindingCalls.after.mir
blob: 6c3128f8c36f616a9387d5e36190c748f188c9c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// MIR for `main` after AbortUnwindingCalls

fn main() -> () {
    let mut _0: ();
    let _1: ();
    scope 1 {
    }

    bb0: {
        StorageLive(_1);
        _1 = const ();
        asm!("", options(MAY_UNWIND)) -> [return: bb1, unwind terminate(abi)];
    }

    bb1: {
        StorageDead(_1);
        _0 = const ();
        return;
    }
}