mirror of
https://github.com/cc65/cc65.git
synced 2025-08-08 06:25:17 +00:00
move testcase for issue #1320 into test/misc
This commit is contained in:
@@ -100,6 +100,12 @@ $(WORKDIR)/bug1263.$1.$2.prg: bug1263.c | $(WORKDIR)
|
|||||||
$(if $(QUIET),echo misc/bug1263.$1.$2.prg)
|
$(if $(QUIET),echo misc/bug1263.$1.$2.prg)
|
||||||
$(NOT) $(CC65) -t sim$2 -$1 -o $$@ $$< $(NULLERR)
|
$(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
|
# this one requires --std=c89, it fails with --std=c99
|
||||||
# it fails currently at runtime
|
# it fails currently at runtime
|
||||||
$(WORKDIR)/bug1265.$1.$2.prg: bug1265.c | $(WORKDIR)
|
$(WORKDIR)/bug1265.$1.$2.prg: bug1265.c | $(WORKDIR)
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
https://github.com/cc65/cc65/issues/1320
|
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;
|
static char *var;
|
||||||
@@ -35,4 +35,5 @@ char bar (void);
|
|||||||
void main (void)
|
void main (void)
|
||||||
{
|
{
|
||||||
foo (var++, bar ());
|
foo (var++, bar ());
|
||||||
|
return 0;
|
||||||
}
|
}
|
Reference in New Issue
Block a user