Skip to content

Commit

Permalink
finish a pattern in enum.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
sfzhu93 committed Jan 20, 2024
1 parent edba949 commit 7ad307d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mir-opt/dataflow-const-prop/enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ fn multiple(x: bool, i: u8) {
// CHECK-NOT: [[x2]] = const 5
// CHECK: [[x2]] = const 0_u8;
// CHECK-NOT: [[x2]] = const 5
// CHECK: [[some:_.*]] = (({{_.*}} as Some
// CHECK: [[some:_.*]] = (({{_.*}} as Some).0: u8)
// CHECK: [[x2]] = [[some]];
let x2 = match e { Some(i) => i, None => 0 };

Expand Down

0 comments on commit 7ad307d

Please sign in to comment.