test related to pr #1189
This commit is contained in:
parent
97a1093ee0
commit
5ba9d28488
1 changed files with 12 additions and 0 deletions
12
test/err/pr1189.c
Normal file
12
test/err/pr1189.c
Normal 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;
|
||||
}
|
Loading…
Add table
Reference in a new issue