1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00

move testcase for issue #1320 into test/misc

This commit is contained in:
mrdudz 2020-11-20 17:25:10 +01:00
parent 48710af55a
commit c11e389a94
2 changed files with 8 additions and 1 deletions

View File

@ -100,6 +100,12 @@ $(WORKDIR)/bug1263.$1.$2.prg: bug1263.c | $(WORKDIR)
$(if $(QUIET),echo misc/bug1263.$1.$2.prg)
$(NOT) $(CC65) -t sim$2 -$1 -o $$@ $$< $(NULLERR)
# should compile, but gives an error (segfault)
$(WORKDIR)/bug1320.$1.$2.prg: bug1320.c | $(WORKDIR)
@echo "FIXME: " $$@ "currently does not compile."
$(if $(QUIET),echo misc/bug1320.$1.$2.prg)
$(NOT) $(CC65) -t sim$2 -$1 -o $$@ $$< $(NULLERR)
# this one requires --std=c89, it fails with --std=c99
# it fails currently at runtime
$(WORKDIR)/bug1265.$1.$2.prg: bug1265.c | $(WORKDIR)

View File

@ -24,7 +24,7 @@
https://github.com/cc65/cc65/issues/1320
After the bug is fixed, this file should be moved to "test/misc/".
After the bug is fixed, this file should be moved to "test/val/".
*/
static char *var;
@ -35,4 +35,5 @@ char bar (void);
void main (void)
{
foo (var++, bar ());
return 0;
}