Skip to content

Commit

Permalink
update enum.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
sfzhu93 committed Jan 23, 2024
1 parent 7ad307d commit 65b1083
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/mir-opt/dataflow-const-prop/enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,7 @@ fn multiple(x: bool, i: u8) {
// The dataflow state must have:
// discriminant(e) => Top
// (e as Some).0 => Top
// CHECK-NOT: [[x2]] = const 5
// CHECK: [[x2]] = const 0_u8;
// CHECK-NOT: [[x2]] = const 5
// CHECK: [[some:_.*]] = (({{_.*}} as Some).0: u8)
// CHECK: [[x2]] = [[some]];
let x2 = match e { Some(i) => i, None => 0 };
Expand Down

0 comments on commit 65b1083

Please sign in to comment.