1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00
cc65/test/misc/bug1263.c
Greg King 47ee179273 Fixed a copy & paste error in the test/misc/ makefile.
Fixed a warning that's changed to an error in Travis CI tests.
2020-09-25 00:31:07 -04:00

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);
}