mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 21:32:19 +00:00
47ee179273
Fixed a warning that's changed to an error in Travis CI tests.
16 lines
181 B
C
16 lines
181 B
C
/* bug #1263 - erroneous error for K & R function declaration */
|
|
|
|
enum E { I = 0 };
|
|
extern int f(enum E);
|
|
|
|
int f(e)
|
|
enum E e;
|
|
{
|
|
return e;
|
|
}
|
|
|
|
int main(void)
|
|
{
|
|
return f(I);
|
|
}
|