diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-04-23 12:30:02 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-04-23 17:13:18 +0000 |
| commit | baa13123efc3873147be6ca771092f2f08bedad7 (patch) | |
| tree | ce419cfed6ab4fd9de7789320a26595725b0f65e /tests/mir-opt/const_prop/mutable_variable.main.ConstProp.diff | |
| parent | 9e540df7931a32ca286eb2e907afde78b718fd17 (diff) | |
| download | rust-baa13123efc3873147be6ca771092f2f08bedad7.tar.gz rust-baa13123efc3873147be6ca771092f2f08bedad7.zip | |
Make some tests unit.
Diffstat (limited to 'tests/mir-opt/const_prop/mutable_variable.main.ConstProp.diff')
| -rw-r--r-- | tests/mir-opt/const_prop/mutable_variable.main.ConstProp.diff | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/mir-opt/const_prop/mutable_variable.main.ConstProp.diff b/tests/mir-opt/const_prop/mutable_variable.main.ConstProp.diff index a672c457a72..bd010e7b160 100644 --- a/tests/mir-opt/const_prop/mutable_variable.main.ConstProp.diff +++ b/tests/mir-opt/const_prop/mutable_variable.main.ConstProp.diff @@ -19,6 +19,7 @@ StorageLive(_2); // scope 1 at $DIR/mutable_variable.rs:+3:9: +3:10 - _2 = _1; // scope 1 at $DIR/mutable_variable.rs:+3:13: +3:14 + _2 = const 99_i32; // scope 1 at $DIR/mutable_variable.rs:+3:13: +3:14 + _0 = const (); // scope 0 at $DIR/mutable_variable.rs:+0:11: +4:2 StorageDead(_2); // scope 1 at $DIR/mutable_variable.rs:+4:1: +4:2 StorageDead(_1); // scope 0 at $DIR/mutable_variable.rs:+4:1: +4:2 return; // scope 0 at $DIR/mutable_variable.rs:+4:2: +4:2 |
