about summary refs log tree commit diff
path: root/src/test/compile-fail/while-expr.rs
blob: 5ff3adf34c300fdb7f7237ae2c7d96f3042507b6 (plain)
1
2
3
// error-pattern: precondition constraint

fn main() { let x: bool; while x { } }