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

16 lines
315 B
Diff

- // MIR for `invalid_char` before ConstProp
+ // MIR for `invalid_char` after ConstProp
fn invalid_char() -> char {
let mut _0: char;
scope 1 {
}
bb0: {
- _0 = const _ as char (Transmute);
+ _0 = const {transmute(0x7fffffff): char};
return;
}
}