[cc65] Parameters with no type specified in K&R-style function declarations
acqn opened this issue · comments
acqn commented
An identifier list in a function declarator that is not part of a function definition shall be empty.
int f(a); /* Should be an error */
Clarification: this currently doesn't compile so there is not such a "bug". However, a fix for some other issues (eg. #2302) could probably "enable" this wrong code. Moreover the current diagnostic message doesn't reflect what is actually wrong with this code. So this is a "TODO" issue.