aboutsummaryrefslogtreecommitdiff
path: root/tests/langerrors/proto_after_def_mismatch.zc
blob: 94a04e6595ae5725b846a35eabc8181d1731e8e2 (plain) (blame)
1
2
3
4
// expect: f: doesn't match its earlier declaration
int f(int a) { return a; }
int f(int a, int b);
fn main() { return f(1); }