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