rust/src/test/compile-fail/arg-count-mismatch.rs

10 lines
90 B
Rust
Raw Normal View History

2010-06-23 23:03:09 -05:00
// error-pattern: mismatched types
fn f(int x) {
}
fn main() {
let () i;
i = f();
}