2011-08-23 14:51:22 -07:00
|
|
|
// Issue #825: Should recheck the loop contition after continuing
|
2011-12-22 14:42:52 -08:00
|
|
|
fn main() {
|
|
|
|
let i = 1;
|
|
|
|
while i > 0 {
|
|
|
|
assert (i > 0);
|
2011-12-22 17:53:53 -08:00
|
|
|
log(debug, i);
|
2011-12-22 14:42:52 -08:00
|
|
|
i -= 1;
|
|
|
|
cont;
|
|
|
|
}
|
|
|
|
}
|