rust/tests/mir-opt/lower_intrinsics.unreachable.LowerIntrinsics.panic-abort.diff

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

17 lines
365 B
Diff
Raw Normal View History

- // MIR for `unreachable` before LowerIntrinsics
+ // MIR for `unreachable` after LowerIntrinsics
fn unreachable() -> ! {
2023-06-06 08:47:00 -05:00
let mut _0: !;
let _1: ();
let mut _2: !;
bb0: {
2023-06-06 08:47:00 -05:00
StorageLive(_1);
StorageLive(_2);
- _2 = std::intrinsics::unreachable() -> unwind unreachable;
+ unreachable;
}
}