rework pptest2 into a runable test and move to test/misc (since it does not compile with cc65)

This commit is contained in:
mrdudz
2020-07-21 14:48:49 +02:00
parent b60b303c5d
commit 638e254668
3 changed files with 78 additions and 19 deletions

View File

@@ -78,6 +78,11 @@ $(WORKDIR)/bug760.$1.$2.prg: bug760.c | $(WORKDIR)
$(if $(QUIET),echo misc/bug760.$1.$2.prg)
-$(CL65) -t sim$2 -$1 -o $$@ $$< $(NULLERR)
# should compile, but gives an error
$(WORKDIR)/pptest2.$1.$2.prg: pptest2.c | $(WORKDIR)
$(if $(QUIET),echo misc/pptest2.$1.$2.prg)
-$(CL65) -t sim$2 -$1 -o $$@ $$< $(NULLERR)
# this should fail to compile, because cc65 does not support returning structs
$(WORKDIR)/bug264.$1.$2.prg: bug264.c | $(WORKDIR)
$(if $(QUIET),echo misc/bug264.$1.$2.prg)