1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-03 22:29:31 +00:00
cc65/test/err/pr1189.c

13 lines
229 B
C
Raw Normal View History

2020-09-24 14:16:16 +00:00
/* pr #1189 - Fixed compiler CHECK failure when calling functions defined with duplicate param names */
void f(int a, int a)
{
}
int main(void)
{
f(0, 1); /* Check failed: (Param->Flags & SC_PARAM) != 0 */
return 0;
}