0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-12-01 04:21:19 +01:00
rust/tests/mir-opt/lower_intrinsics.size_of.LowerIntrinsics.panic-abort.diff
2023-06-15 15:19:11 -04:00

18 lines
352 B
Diff

- // MIR for `size_of` before LowerIntrinsics
+ // MIR for `size_of` after LowerIntrinsics
fn size_of() -> usize {
let mut _0: usize;
bb0: {
- _0 = std::intrinsics::size_of::<T>() -> [return: bb1, unwind unreachable];
+ _0 = SizeOf(T);
+ goto -> bb1;
}
bb1: {
return;
}
}