Sign in
fuchsia
/
third_party
/
rust
/
a7a6dedfe661a6d9d181afeb0fbaa894fcb7362b
/
.
/
src
/
test
/
ui
/
for-loop-while
/
while-cont.rs
blob: a864e8ef70a1cd3889a29ba875c0ff37afe32f6a [
file
] [
log
] [
blame
]
// run-pass
// Issue #825: Should recheck the loop condition after continuing
pub
fn
main
()
{
let
mut
i
=
1
;
while
i
>
0
{
assert
!((
i
>
0
));
println
!(
"{}"
,
i
);
i
-=
1
;
continue
;
}
}