rust/src/test/compile-fail/and-init.rs
2012-03-05 17:05:20 -08:00

9 lines
167 B
Rust

// error-pattern:unsatisfied precondition constraint (for example, init(i
fn main() {
let i: int;
log(debug, false && { i = 5; true });
log(debug, i);
}