26e177a97a
Enable typestate checking (just for uninitialized vars) and un-XFAIL the relevant tests for stage0.
8 lines
88 B
Rust
8 lines
88 B
Rust
// error-pattern: precondition constraint
|
|
|
|
fn main() {
|
|
let bool x;
|
|
while(x) {
|
|
}
|
|
}
|