about summary refs log tree commit diff
path: root/src/test/mir-opt/const_prop/control-flow-simplification/rustc.hello.PreCodegen.before.mir
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/mir-opt/const_prop/control-flow-simplification/rustc.hello.PreCodegen.before.mir')
-rw-r--r--src/test/mir-opt/const_prop/control-flow-simplification/rustc.hello.PreCodegen.before.mir9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/test/mir-opt/const_prop/control-flow-simplification/rustc.hello.PreCodegen.before.mir b/src/test/mir-opt/const_prop/control-flow-simplification/rustc.hello.PreCodegen.before.mir
index 53296f8714b..73922b56669 100644
--- a/src/test/mir-opt/const_prop/control-flow-simplification/rustc.hello.PreCodegen.before.mir
+++ b/src/test/mir-opt/const_prop/control-flow-simplification/rustc.hello.PreCodegen.before.mir
@@ -4,6 +4,13 @@ fn hello() -> () {
     let mut _0: ();                      // return place in scope 0 at $DIR/control-flow-simplification.rs:11:14: 11:14
 
     bb0: {
-        return;                          // bb0[0]: scope 0 at $DIR/control-flow-simplification.rs:15:2: 15:2
+        _0 = const ();                   // bb0[0]: scope 0 at $DIR/control-flow-simplification.rs:12:5: 14:6
+                                         // ty::Const
+                                         // + ty: ()
+                                         // + val: Value(Scalar(<ZST>))
+                                         // mir::Constant
+                                         // + span: $DIR/control-flow-simplification.rs:12:5: 14:6
+                                         // + literal: Const { ty: (), val: Value(Scalar(<ZST>)) }
+        return;                          // bb0[1]: scope 0 at $DIR/control-flow-simplification.rs:15:2: 15:2
     }
 }