Overlooked a few target tests that take the address of main().
This commit is contained in:
@@ -11,6 +11,8 @@ static char hex[16] = { "0123456789abcdef" };
|
||||
static char charbuf[0x20];
|
||||
static char colbuf[0x20];
|
||||
|
||||
void func(void) { }
|
||||
|
||||
void main(void)
|
||||
{
|
||||
int stackvar = 42;
|
||||
@@ -65,7 +67,7 @@ void main(void)
|
||||
p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]
|
||||
);
|
||||
}
|
||||
memcpy(p, main, i = 0); /* test that a zero length doesn't copy 64K */
|
||||
memcpy(p, func, i = 0); /* test that a zero length doesn't copy 64K */
|
||||
|
||||
gotoxy(0,ysize - 1);
|
||||
for (i = 0; i < xsize; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user