test related to pr #1189

This commit is contained in:
mrdudz 2020-09-24 16:16:16 +02:00
parent 97a1093ee0
commit 5ba9d28488
1 changed files with 12 additions and 0 deletions

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;
}