summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/pre-codegen/intrinsics.f_unit.PreCodegen.after.mir
blob: 578cb2d706985c075f40e689b65e8b5867b28cee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// MIR for `f_unit` after PreCodegen

fn f_unit() -> () {
    let mut _0: ();
    scope 1 (inlined f_dispatch::<()>) {
        debug t => const ();
        let _1: ();
        scope 2 (inlined std::mem::size_of::<()>) {
        }
    }

    bb0: {
        _1 = f_zst::<()>(const ()) -> [return: bb1, unwind unreachable];
    }

    bb1: {
        return;
    }
}