From 741c8ab2ad7ccb2dd3618fba06bae95311a000c8 Mon Sep 17 00:00:00 2001 From: varkor Date: Fri, 16 Mar 2018 18:44:27 +0000 Subject: [PATCH] Update mir-opt test --- src/test/mir-opt/never_type_unreachable.rs | 24 ++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/src/test/mir-opt/never_type_unreachable.rs b/src/test/mir-opt/never_type_unreachable.rs index e9f31ad989c20..eec5db9ca9b4c 100644 --- a/src/test/mir-opt/never_type_unreachable.rs +++ b/src/test/mir-opt/never_type_unreachable.rs @@ -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 @@ -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