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