rust/tests/mir-opt/pre-codegen/intrinsics.f_unit.PreCodegen.after.mir

20 lines
363 B
Rust
Raw Normal View History

// MIR for `f_unit` after PreCodegen
fn f_unit() -> () {
2023-06-06 08:47:00 -05:00
let mut _0: ();
scope 1 (inlined f_dispatch::<()>) {
debug t => const ();
let _1: ();
scope 2 (inlined std::mem::size_of::<()>) {
}
}
bb0: {
2023-06-06 08:47:00 -05:00
_1 = f_zst::<()>(const ()) -> [return: bb1, unwind unreachable];
}
bb1: {
2023-06-06 08:47:00 -05:00
return;
}
}