diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-07-26 19:04:27 +0200 |
|---|---|---|
| committer | Nils Heydecker <48135649+Nilstrieb@users.noreply.github.com> | 2022-08-12 11:37:28 +0200 |
| commit | ee30cc8b204ed85bf3f843fb038d1d3e9c2fe8e2 (patch) | |
| tree | c9171e1b0b3557b59b3803058d9aed946e4243a4 /src/test/mir-opt/const_prop/aggregate.main.ConstProp.diff | |
| parent | 36f4f4aa38563d0c02bbdbbc03fb20145edef567 (diff) | |
make some const prop tests unit-test
Diffstat (limited to 'src/test/mir-opt/const_prop/aggregate.main.ConstProp.diff')
| -rw-r--r-- | src/test/mir-opt/const_prop/aggregate.main.ConstProp.diff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/mir-opt/const_prop/aggregate.main.ConstProp.diff b/src/test/mir-opt/const_prop/aggregate.main.ConstProp.diff index 836443bf4d2..04378dbf374 100644 --- a/src/test/mir-opt/const_prop/aggregate.main.ConstProp.diff +++ b/src/test/mir-opt/const_prop/aggregate.main.ConstProp.diff @@ -24,7 +24,7 @@ + _1 = const 1_i32; // scope 0 at $DIR/aggregate.rs:+1:13: +1:28 StorageDead(_2); // scope 0 at $DIR/aggregate.rs:+1:27: +1:28 StorageDead(_3); // scope 0 at $DIR/aggregate.rs:+1:28: +1:29 - nop; // scope 0 at $DIR/aggregate.rs:+0:11: +2:2 + _0 = const (); // scope 0 at $DIR/aggregate.rs:+0:11: +2:2 StorageDead(_1); // scope 0 at $DIR/aggregate.rs:+2:1: +2:2 return; // scope 0 at $DIR/aggregate.rs:+2:2: +2:2 } |
