10 lines
90 B
Rust
10 lines
90 B
Rust
// error-pattern: mismatched types
|
|
|
|
fn f(int x) {
|
|
}
|
|
|
|
fn main() {
|
|
let () i;
|
|
i = f();
|
|
}
|