Fixed a copy & paste error in the test/misc/ makefile.
Fixed a warning that's changed to an error in Travis CI tests.
This commit is contained in:
@@ -1,17 +1,15 @@
|
||||
/* bug #1263 - erroneous error for K & R function declaration */
|
||||
|
||||
/* bug #1263 - erroneous error for implicit function declaration */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
enum E { I };
|
||||
enum E { I = 0 };
|
||||
extern int f(enum E);
|
||||
|
||||
int f(e)
|
||||
enum E e;
|
||||
{
|
||||
return 1;
|
||||
return e;
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
return f(1) ? EXIT_SUCCESS : EXIT_FAILURE;
|
||||
return f(I);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user