1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-22 12:30:41 +00:00

test related to pr #1189

This commit is contained in:
mrdudz 2020-09-24 16:16:16 +02:00
parent 97a1093ee0
commit 5ba9d28488

12
test/err/pr1189.c Normal file
View File

@ -0,0 +1,12 @@
/* 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;
}