rust/src/test/compile-fail/while-expr.rs

8 lines
88 B
Rust
Raw Normal View History

2010-06-23 23:03:09 -05:00
// error-pattern: precondition constraint
fn main() {
let bool x;
while(x) {
}
}