2011-06-27 20:12:37 -05:00
|
|
|
// error-pattern: Unsatisfied precondition constraint (for example, init(y
|
|
|
|
fn main() {
|
|
|
|
|
2011-07-27 07:19:39 -05:00
|
|
|
let y: int = 42;
|
|
|
|
let x: int;
|
|
|
|
do {
|
2011-12-22 16:42:52 -06:00
|
|
|
log_full(core::debug, y);
|
2011-07-27 07:19:39 -05:00
|
|
|
do { do { do { x <- y; } while true } while true } while true
|
|
|
|
} while true
|
2011-08-19 17:16:48 -05:00
|
|
|
}
|