2011-06-28 13:07:05 -07:00
|
|
|
// error-pattern: Unsatisfied precondition constraint (for example, init(i
|
|
|
|
|
|
|
|
fn main() {
|
2011-07-27 14:19:39 +02:00
|
|
|
let i: int;
|
2011-06-28 13:07:05 -07:00
|
|
|
|
2011-07-27 14:19:39 +02:00
|
|
|
log false || { i = 5; true };
|
|
|
|
log i;
|
2011-06-28 13:07:05 -07:00
|
|
|
}
|