summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/issue_41110.test.ElaborateDrops.panic-unwind.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:59:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:59:24 +0000
commit023939b627b7dc93b01471f7d41fb8553ddb4ffa (patch)
tree60fc59477c605c72b0a1051409062ddecc43f877 /tests/mir-opt/issue_41110.test.ElaborateDrops.panic-unwind.diff
parentAdding debian version 1.72.1+dfsg1-1. (diff)
downloadrustc-023939b627b7dc93b01471f7d41fb8553ddb4ffa.tar.xz
rustc-023939b627b7dc93b01471f7d41fb8553ddb4ffa.zip
Merging upstream version 1.73.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/mir-opt/issue_41110.test.ElaborateDrops.panic-unwind.diff')
-rw-r--r--tests/mir-opt/issue_41110.test.ElaborateDrops.panic-unwind.diff13
1 files changed, 5 insertions, 8 deletions
diff --git a/tests/mir-opt/issue_41110.test.ElaborateDrops.panic-unwind.diff b/tests/mir-opt/issue_41110.test.ElaborateDrops.panic-unwind.diff
index 254658c81..4845fc732 100644
--- a/tests/mir-opt/issue_41110.test.ElaborateDrops.panic-unwind.diff
+++ b/tests/mir-opt/issue_41110.test.ElaborateDrops.panic-unwind.diff
@@ -47,7 +47,8 @@
bb3 (cleanup): {
_2 = move _5;
- drop(_5) -> [return: bb8, unwind terminate];
+- drop(_5) -> [return: bb8, unwind terminate];
++ goto -> bb8;
}
bb4: {
@@ -80,7 +81,7 @@
bb9 (cleanup): {
- drop(_1) -> [return: bb10, unwind terminate];
-+ goto -> bb13;
++ goto -> bb12;
}
bb10 (cleanup): {
@@ -88,15 +89,11 @@
+ }
+
+ bb11 (cleanup): {
-+ unreachable;
-+ }
-+
-+ bb12 (cleanup): {
+ drop(_1) -> [return: bb10, unwind terminate];
+ }
+
-+ bb13 (cleanup): {
-+ switchInt(_6) -> [0: bb10, otherwise: bb12];
++ bb12 (cleanup): {
++ switchInt(_6) -> [0: bb10, otherwise: bb11];
}
}