mirror of
https://github.com/cc65/cc65.git
synced 2024-06-24 18:28:53 +00:00
test related to pr #1189
This commit is contained in:
parent
97a1093ee0
commit
5ba9d28488
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…
Reference in New Issue
Block a user