summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/building/custom/enums.set_discr_repr.built.after.mir
blob: 6fdc3d0f4d4e138c274868409efc5111c7b545d3 (plain)
1
2
3
4
5
6
7
8
9
10
// MIR for `set_discr_repr` after built

fn set_discr_repr(_1: &mut Bool) -> () {
    let mut _0: ();                      // return place in scope 0 at $DIR/enums.rs:+0:33: +0:33

    bb0: {
        discriminant((*_1)) = 0;         // scope 0 at $DIR/enums.rs:+2:9: +2:31
        return;                          // scope 0 at $DIR/enums.rs:+3:9: +3:17
    }
}