rust/tests/mir-opt/const_prop/transmute.from_char.ConstProp.32bit.diff
2023-06-15 15:19:11 -04:00

16 lines
282 B
Diff

- // MIR for `from_char` before ConstProp
+ // MIR for `from_char` after ConstProp
fn from_char() -> i32 {
let mut _0: i32;
scope 1 {
}
bb0: {
- _0 = const 'R' as i32 (Transmute);
+ _0 = const 82_i32;
return;
}
}