summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/dataflow-const-prop/transmute.invalid_char.DataflowConstProp.32bit.diff
blob: 837dabde42a58e123b69d8ecf76848a78be9d6bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- // 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 _ as char (Transmute);
+         _0 = const {transmute(0x7fffffff): char};
          return;
      }
  }