2011-06-27 18:12:37 -07:00
|
|
|
fn main() {
|
|
|
|
|
2011-07-27 14:19:39 +02:00
|
|
|
let y: int = 42;
|
|
|
|
let z: int = 42;
|
|
|
|
let x: int;
|
2011-12-22 14:42:52 -08:00
|
|
|
while z < 50 {
|
|
|
|
z += 1;
|
|
|
|
while false { x <- y; y = z; }
|
|
|
|
log_full(core::debug, y);
|
|
|
|
}
|
2011-07-27 14:19:39 +02:00
|
|
|
assert (y == 42 && z == 50);
|
2011-08-19 15:16:48 -07:00
|
|
|
}
|