rust/tests/mir-opt/issue_104451_unwindable_int...

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

17 lines
353 B
Rust
Raw Normal View History

2023-04-12 21:04:41 +08:00
// MIR for `main` after AbortUnwindingCalls
fn main() -> () {
2023-06-06 21:47:00 +08:00
let mut _0: ();
let mut _1: !;
let mut _2: ();
2023-04-12 21:04:41 +08:00
scope 1 {
}
bb0: {
2023-06-06 21:47:00 +08:00
StorageLive(_1);
StorageLive(_2);
_2 = ();
_1 = const_eval_select::<(), fn() -> ! {ow_ct}, fn() -> ! {ow_ct}, !>(move _2, ow_ct, ow_ct) -> unwind unreachable;
2023-04-12 21:04:41 +08:00
}
}