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

3 lines
81 B
Rust
Raw Normal View History

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