rust/src/test/compile-fail/arg-count-mismatch.rs
2011-07-27 15:54:33 +02:00

5 lines
95 B
Rust

// error-pattern: parameters were supplied
fn f(x: int) { }
fn main() { let i: (); i = f(); }