summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-4935.rs
blob: b342bbb1b8eab90d69c2b0f3ea61100b7654413e (plain)
1
2
3
4
5
6
// Regression test for issue #4935

fn foo(a: usize) {}
//~^ defined here
fn main() { foo(5, 6) }
//~^ ERROR this function takes 1 argument but 2 arguments were supplied