rust/tests/mir-opt/pre-codegen/intrinsics.f_unit.PreCodegen.after.mir
2023-06-15 15:19:11 -04:00

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