summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/remove_zsts.get_union.PreCodegen.after.mir
blob: 7ac9ef3d49013b631118e7f6d9412e863f02b065 (plain)
1
2
3
4
5
6
7
8
9
10
// MIR for `get_union` after PreCodegen

fn get_union() -> Foo {
    let mut _0: Foo;                     // return place in scope 0 at $DIR/remove_zsts.rs:+0:19: +0:22

    bb0: {
        _0 = Foo { x: const () };        // scope 0 at $DIR/remove_zsts.rs:+1:5: +1:18
        return;                          // scope 0 at $DIR/remove_zsts.rs:+2:2: +2:2
    }
}