Skip to content

Commit

Permalink
Update mir-opt test
Browse files Browse the repository at this point in the history
  • Loading branch information
varkor committed Mar 16, 2018
1 parent c17319c commit 741c8ab
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions src/test/mir-opt/never_type_unreachable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,18 @@ pub fn main() { }
// ...
// }
// bb1: {
// unreachable;
// }
// bb2: {
// _0 = ();
// return;
// }
// bb2: {
// ...
// }
// bb3: {
// unreachable;
// }
// bb4: {
// unreachable;
// }
// }
// END rustc.never_match.SimplifyCfg-initial.after.mir

Expand All @@ -97,12 +103,18 @@ pub fn main() { }
// ...
// }
// bb1: {
// unreachable;
// }
// bb2: {
// _0 = ();
// StorageDead(_1);
// return;
// }
// bb2: {
// ...
// }
// bb3: {
// unreachable;
// }
// bb4: {
// unreachable;
// }
// }
// END rustc.never_match_disj_patterns.SimplifyCfg-initial.after.mir

0 comments on commit 741c8ab

Please sign in to comment.