rust/tests/mir-opt/dataflow-const-prop/transmute.invalid_char.Data...

14 lines
332 B
Diff

- // MIR for `invalid_char` before DataflowConstProp
+ // MIR for `invalid_char` after DataflowConstProp
fn invalid_char() -> char {
let mut _0: char;
bb0: {
- _0 = const core::num::<impl i32>::MAX as char (Transmute);
+ _0 = const {transmute(0x7fffffff): char};
return;
}
}