about summary refs log tree commit diff
path: root/tests/mir-opt/pre-codegen/intrinsics.f_unit.PreCodegen.after.mir
blob: 2768c2bb2d7b83f2c4f4a1a076b5c2f9631e8be9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// MIR for `f_unit` after PreCodegen

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

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

    bb1: {
        return;
    }
}