26e177a97a
Enable typestate checking (just for uninitialized vars) and un-XFAIL the relevant tests for stage0.
10 lines
107 B
Rust
10 lines
107 B
Rust
// error-pattern: precondition constraint
|
|
|
|
fn f() -> int {
|
|
let int x;
|
|
ret x;
|
|
}
|
|
|
|
fn main() {
|
|
f();
|
|
} |