rust/tests/mir-opt/dataflow-const-prop/transmute.invalid_char.DataflowConstProp.32bit.diff

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
356 B
Diff
Raw Normal View History

2023-04-15 11:41:57 -05:00
- // MIR for `invalid_char` before DataflowConstProp
+ // MIR for `invalid_char` after DataflowConstProp
fn invalid_char() -> char {
let mut _0: char;
scope 1 {
}
bb0: {
- _0 = const core::num::<impl i32>::MAX as char (Transmute);
2023-04-15 11:41:57 -05:00
+ _0 = const {transmute(0x7fffffff): char};
return;
}
}