mirror of
https://github.com/cc65/cc65.git
synced 2024-07-07 04:29:01 +00:00
18 lines
231 B
C
18 lines
231 B
C
|
|
/* bug #1263 - erroneous error for implicit function declaration */
|
|
|
|
#include <stdlib.h>
|
|
|
|
enum E { I };
|
|
extern int f(enum E);
|
|
int f(e)
|
|
enum E e;
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
int main(void)
|
|
{
|
|
return f(1) ? EXIT_SUCCESS : EXIT_FAILURE;
|
|
}
|