summary refs log tree commit diff
path: root/src/test/mir-opt/const_prop/control-flow-simplification/rustc.hello.PreCodegen.before.mir
blob: 3569b9897f96cad1a573dd736488e9582b0bad00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// MIR for `hello` before PreCodegen

fn hello() -> () {
    let mut _0: ();                      // return place in scope 0 at $DIR/control-flow-simplification.rs:11:14: 11:14

    bb0: {
        _0 = const ();                   // 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;                          // scope 0 at $DIR/control-flow-simplification.rs:15:2: 15:2
    }
}