about summary refs log tree commit diff
path: root/src/test/mir-opt/const_prop/aggregate.main.ConstProp.diff
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-07-26 19:04:27 +0200
committerNils Heydecker <48135649+Nilstrieb@users.noreply.github.com>2022-08-12 11:37:28 +0200
commitee30cc8b204ed85bf3f843fb038d1d3e9c2fe8e2 (patch)
treec9171e1b0b3557b59b3803058d9aed946e4243a4 /src/test/mir-opt/const_prop/aggregate.main.ConstProp.diff
parent36f4f4aa38563d0c02bbdbbc03fb20145edef567 (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.diff2
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
       }