aboutsummaryrefslogtreecommitdiff
path: root/src/test/compile-fail/while-expr.rs
blob: 295752f8e0299d9e5540c718a27e6b20291a09f6 (plain) (blame)
1
2
3
4
5
6
7
8
// xfail-stage0
// error-pattern: precondition constraint

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