rust/src/test/compile-fail/arg-count-mismatch.rs
2010-06-23 21:03:09 -07:00

10 lines
90 B
Rust

// error-pattern: mismatched types
fn f(int x) {
}
fn main() {
let () i;
i = f();
}