mirror of
https://github.com/cc65/cc65.git
synced 2025-02-28 20:29:46 +00:00
Moved bug250.c from test/misc as it is to be fixed.
This commit is contained in:
parent
17bbba7327
commit
b15ab348ba
@ -63,12 +63,6 @@ $(DIFF): ../isequal.c | $(WORKDIR)
|
|||||||
|
|
||||||
define PRG_template
|
define PRG_template
|
||||||
|
|
||||||
# should compile, but gives an error
|
|
||||||
$(WORKDIR)/bug250.$1.$2.prg: bug250.c | $(WORKDIR)
|
|
||||||
@echo "FIXME: " $$@ "currently does not compile."
|
|
||||||
$(if $(QUIET),echo misc/bug250.$1.$2.prg)
|
|
||||||
$(NOT) $(CL65) -t sim$2 -$1 -o $$@ $$< $(NULLERR)
|
|
||||||
|
|
||||||
# should compile, but gives an error
|
# should compile, but gives an error
|
||||||
$(WORKDIR)/bug760.$1.$2.prg: bug760.c | $(WORKDIR)
|
$(WORKDIR)/bug760.$1.$2.prg: bug760.c | $(WORKDIR)
|
||||||
@echo "FIXME: " $$@ "currently does not compile."
|
@echo "FIXME: " $$@ "currently does not compile."
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
/* bug #250 - Array size compile-time optimization stops halfway */
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#define LZO_MAX(a,b) ((a) >= (b) ? (a) : (b))
|
|
||||||
unsigned char c[2*4];
|
|
||||||
unsigned char b[2*LZO_MAX(8,sizeof(int))]; // this will not compile
|
|
||||||
|
|
||||||
int main(void)
|
|
||||||
{
|
|
||||||
/* FIXME: add some runtime check */
|
|
||||||
return EXIT_SUCCESS;
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user