test related to pr #1189
This commit is contained in:
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;
|
||||
}
|
||||
Reference in New Issue
Block a user