1
Fork 0

Remove do ... while loops from the tests and docs.

This commit is contained in:
Paul Stansifer 2012-05-10 14:06:19 -07:00
parent 13c924c049
commit f943667af3
15 changed files with 45 additions and 79 deletions

View file

@ -0,0 +1,10 @@
// error-pattern:unsatisfied precondition constraint (for example, init(y
fn main() {
let y: int = 42;
let x: int;
loop {
log(debug, y);
while true { while true { while true { x <- y; } } }
}
}