rust/src/test/compile-fail/while-expr.rs
2011-07-27 15:54:33 +02:00

3 lines
81 B
Rust

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