1 // Checks that we do not have any branches in the MIR for the two tested functions.
3 // compile-flags: -Cpanic=abort
4 #![feature(core_intrinsics)]
7 // EMIT_MIR lower_intrinsics_e2e.f_unit.PreCodegen.after.mir
13 // EMIT_MIR lower_intrinsics_e2e.f_u64.PreCodegen.after.mir
19 pub fn f_dispatch<T>(t: T) {
20 if std::mem::size_of::<T>() == 0 {
28 pub fn f_zst<T>(_t: T) {
32 pub fn f_non_zst<T>(_t: T) {}