d267e7486e
The function might fail, leaving the local uninitialized Issue #236
7 lines
85 B
Rust
7 lines
85 B
Rust
// error-pattern:fail
|
|
|
|
fn f() -> @int { fail; }
|
|
|
|
fn main() {
|
|
let a: @int = f();
|
|
} |