blob: 595a94b88be0eca1d9c20a975203f51c7a77c9d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// unit-test: ConstProp
// EMIT_MIR while_let_loops.change_loop_body.ConstProp.diff
pub fn change_loop_body() {
let mut _x = 0;
while let Some(0u32) = None {
_x = 1;
break;
}
}
fn main() {
change_loop_body();
}
|