Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
mir-opt
/
const_prop
/
while_let_loops.rs
blob: 39081c3550a819bed72f33a3759101560743211f [
file
] [
log
] [
blame
]
// skip-filecheck
// 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
();
}