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

10 lines
90 B
Rust
Raw Normal View History

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