2014-09-24 14:45:10 +00:00
|
|
|
/*
|
|
|
|
!!DESCRIPTION!! linker bug
|
|
|
|
!!ORIGIN!! testsuite
|
|
|
|
!!LICENCE!! public domain
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
with SVN version: 4973M
|
|
|
|
|
|
|
|
$ cl65 -v -o test.prg tests/cc65110210.c
|
2019-01-05 19:57:12 +00:00
|
|
|
Opened include file '/usr/local/lib/cc65/include/stdio.h'
|
|
|
|
Opened include file '/usr/local/lib/cc65/include/stddef.h'
|
|
|
|
Opened include file '/usr/local/lib/cc65/include/stdarg.h'
|
|
|
|
Opened include file '/usr/local/lib/cc65/include/limits.h'
|
2014-09-24 14:45:10 +00:00
|
|
|
0 errors, 0 warnings
|
2019-01-05 19:57:12 +00:00
|
|
|
Opened output file 'tests/cc65110210.s'
|
|
|
|
Wrote output to 'tests/cc65110210.s'
|
|
|
|
Closed output file 'tests/cc65110210.s'
|
|
|
|
cl65: Subprocess 'ld65' aborted by signal 11
|
2014-09-24 14:45:10 +00:00
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <limits.h>
|
|
|
|
|
|
|
|
void (*p1func)();
|
|
|
|
|
|
|
|
void func(void)
|
|
|
|
{
|
|
|
|
(*p1func)();
|
|
|
|
}
|
|
|
|
|
|
|
|
int main(void)
|
|
|
|
{
|
|
|
|
printf("it works :)\n");
|
|
|
|
|
|
|
|
return (0);
|
|
|
|
}
|