Moved misc/bug1048 as it is already correctly rejected by the compiler.
This commit is contained in:
@@ -87,12 +87,6 @@ $(WORKDIR)/bug264.$1.$2.prg: bug264.c | $(WORKDIR)
|
||||
$(if $(QUIET),echo misc/bug264.$1.$2.prg)
|
||||
$(CL65) -t sim$2 -$1 -o $$@ $$< $(NULLERR)
|
||||
|
||||
# this should fail to compile, because there are errors in the code
|
||||
$(WORKDIR)/bug1048.$1.$2.prg: bug1048.c | $(WORKDIR)
|
||||
@echo "FIXME: " $$@ "compiles but should give an error."
|
||||
$(if $(QUIET),echo misc/bug1048.$1.$2.prg)
|
||||
$(CL65) -t sim$2 -$1 -o $$@ $$< $(NULLERR)
|
||||
|
||||
# this should fail to compile, because there are errors in the code
|
||||
$(WORKDIR)/bug1098.$1.$2.prg: bug1098.c | $(WORKDIR)
|
||||
@echo "FIXME: " $$@ "compiles but should give an error."
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
/* bug #1048: The following code has two errors: a redeclared enum type and an
|
||||
undeclared enum type: */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
// this should NOT compile - but with cc65 it does
|
||||
enum e { x };
|
||||
enum e { y };
|
||||
|
||||
int f() { return sizeof(enum undeclared); }
|
||||
|
||||
int main(void)
|
||||
{
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
Reference in New Issue
Block a user