cc65/test/err/bug2285-composite-type.c

6 lines
175 B
C

/* Bug #2285 - Regression in type composition */
void foo(); /* OK */
void foo(int (*)(int)); /* OK */
void foo(int (*)(long)); /* WRONG: Should be an error */