rust/tests/mir-opt/pre-codegen/intrinsics.f_unit.PreCodege...

20 lines
363 B
Rust

// 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;
}
}