https://issues.dlang.org/show_bug.cgi?id=22344
Issue ID: 22344
Summary: importC: Semantic allows function to have number of
arguments not match prototype
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
This should error, but doesn't.
---
int func(int);
int func() // number of arguments doesn't match prototype.
{
return 0;
}
--
