diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-05-01 11:18:41 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-05-02 16:46:56 +0000 |
| commit | a4ef2f5fcada89d4aa56b68e34da91f6cd408e63 (patch) | |
| tree | e1bfa2592c0a1f54661b2e782b2a6a26bf78faab /tests/mir-opt/const_prop/switch_int.main.SimplifyConstCondition-after-const-prop.diff | |
| parent | 98c33e47a495fbd7b22bce9ce32f2815991bc414 (diff) | |
| download | rust-a4ef2f5fcada89d4aa56b68e34da91f6cd408e63.tar.gz rust-a4ef2f5fcada89d4aa56b68e34da91f6cd408e63.zip | |
Make ConstProp tests unit.
Diffstat (limited to 'tests/mir-opt/const_prop/switch_int.main.SimplifyConstCondition-after-const-prop.diff')
| -rw-r--r-- | tests/mir-opt/const_prop/switch_int.main.SimplifyConstCondition-after-const-prop.diff | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mir-opt/const_prop/switch_int.main.SimplifyConstCondition-after-const-prop.diff b/tests/mir-opt/const_prop/switch_int.main.SimplifyConstCondition-after-const-prop.diff index 0864db22523..ef2c4d5faa6 100644 --- a/tests/mir-opt/const_prop/switch_int.main.SimplifyConstCondition-after-const-prop.diff +++ b/tests/mir-opt/const_prop/switch_int.main.SimplifyConstCondition-after-const-prop.diff @@ -15,14 +15,14 @@ bb1: { _0 = foo(const -1_i32) -> bb3; // scope 0 at $DIR/switch_int.rs:+3:14: +3:21 // mir::Constant - // + span: $DIR/switch_int.rs:10:14: 10:17 + // + span: $DIR/switch_int.rs:12:14: 12:17 // + literal: Const { ty: fn(i32) {foo}, val: Value(<ZST>) } } bb2: { _0 = foo(const 0_i32) -> bb3; // scope 0 at $DIR/switch_int.rs:+2:14: +2:20 // mir::Constant - // + span: $DIR/switch_int.rs:9:14: 9:17 + // + span: $DIR/switch_int.rs:11:14: 11:17 // + literal: Const { ty: fn(i32) {foo}, val: Value(<ZST>) } } |
