rust/src/test/compile-fail/while-expr.rs
2010-06-23 21:03:09 -07:00

8 lines
88 B
Rust

// error-pattern: precondition constraint
fn main() {
let bool x;
while(x) {
}
}