Sign in
fuchsia
/
third_party
/
rust
/
0.4
/
.
/
src
/
test
/
run-pass
/
while-cont.rs
blob: f0ab280dfc55a4a839614892ee48a06328b92e64 [
file
] [
log
] [
blame
]
// Issue #825: Should recheck the loop contition after continuing
fn
main
()
{
let
mut
i
=
1
;
while
i
>
0
{
assert
(
i
>
0
);
log
(
debug
,
i
);
i
-=
1
;
loop
;
}
}