mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 15:29:46 +00:00
23 lines
239 B
C
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);
|
|
}
|