rust/tests/mir-opt/copy-prop/partial_init.main.CopyProp.diff

14 lines
234 B
Diff
Raw Normal View History

2023-05-10 10:25:02 -05:00
- // MIR for `main` before CopyProp
+ // MIR for `main` after CopyProp
fn main() -> () {
2023-06-06 08:47:00 -05:00
let mut _0: ();
let mut _1: (isize,);
2023-05-10 10:25:02 -05:00
bb0: {
2023-06-06 08:47:00 -05:00
(_1.0: isize) = const 1_isize;
return;
2023-05-10 10:25:02 -05:00
}
}