summaryrefslogtreecommitdiff
path: root/tests/mir-opt/const_prop/transmute.invalid_char.ConstProp.32bit.diff
blob: 2c541f2f6a08442803a31b68176d628580384ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- // MIR for `invalid_char` before ConstProp
+ // MIR for `invalid_char` after ConstProp
  
  fn invalid_char() -> char {
      let mut _0: char;                    // return place in scope 0 at $DIR/transmute.rs:+0:33: +0:37
      scope 1 {
      }
  
      bb0: {
-         _0 = const _ as char (Transmute); // scope 1 at $DIR/transmute.rs:+1:14: +1:33
+         _0 = const {transmute(0x7fffffff): char}; // scope 1 at $DIR/transmute.rs:+1:14: +1:33
          return;                          // scope 0 at $DIR/transmute.rs:+2:2: +2:2
      }
  }