PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/jruderman/rust
Rust | 5 lines | 2 code | 2 blank | 1 comment | 0 complexity | 2e72c12132661d0d7976ff111278550d MD5 | raw file
1// error-pattern: parameters were supplied
2
3fn f(x: int) { }
4
5fn main() { let i: (); i = f(); }