2012-03-05 18:27:27 -06:00
|
|
|
// error-pattern:unsatisfied precondition constraint (for example, init(y
|
2011-06-27 20:12:37 -05:00
|
|
|
fn main() {
|
|
|
|
|
2011-07-27 07:19:39 -05:00
|
|
|
let y: int = 42;
|
|
|
|
let x: int;
|
2012-03-10 22:38:03 -06:00
|
|
|
loop {
|
2011-12-22 19:53:53 -06:00
|
|
|
log(debug, y);
|
2012-05-10 16:06:19 -05:00
|
|
|
while true { while true { while true { x <- y; } } }
|
2012-03-10 22:38:03 -06:00
|
|
|
}
|
2011-08-19 17:16:48 -05:00
|
|
|
}
|