rust/tests/mir-opt/copy-prop/partial_init.main.CopyProp.diff
2023-05-10 15:26:51 +00:00

14 lines
517 B
Diff

- // MIR for `main` before CopyProp
+ // MIR for `main` after CopyProp
fn main() -> () {
let mut _0: (); // return place in scope 0 at $DIR/partial_init.rs:+0:15: +0:15
let mut _1: (isize,); // in scope 0 at $SRC_DIR/core/src/intrinsics/mir.rs:LL:COL
bb0: {
(_1.0: isize) = const 1_isize; // scope 0 at $DIR/partial_init.rs:+4:13: +4:20
return; // scope 0 at $DIR/partial_init.rs:+5:13: +5:21
}
}