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

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