Sign in
rust
/
rust-lang
/
rust
/
refs/heads/beta
/
.
/
tests
/
ui
/
for-loop-while
/
while-cont.rs
blob: 73a08c26f9af6c55fec29463aaa98d400449b068 [
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
;
}
}