Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
4486c24db3ca1c698b34ea08bee15194774b53df
/
.
/
tests
/
ui
/
for-loop-while
/
while-cont.rs
blob: 1640b7e1803bdb43f5aaca0f0ecd0aa908a83208 [
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
;
}
}