1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00
cc65/test/val/bug1263.c
2021-04-03 17:50:46 +02:00

23 lines
239 B
C

/* bug #1263 - erroneous error for K & R function declaration */
enum E { I = 0 };
extern int f();
int f(e)
enum E e;
{
return e;
}
extern int g(int);
int g(e)
enum E e;
{
return e;
}
int main(void)
{
return f(I) + g(I);
}