5 lines
95 B
Rust
5 lines
95 B
Rust
// error-pattern: parameters were supplied
|
|
|
|
fn f(x: int) { }
|
|
|
|
fn main() { let i: (); i = f(); } |