mirror of
https://github.com/cc65/cc65.git
synced 2024-08-17 03:29:15 +00:00
load and run address now configured from header fix error codes not to conflict with test fix test/misc/endless.c which is supposed to fail if an endless loop does not occur
14 lines
240 B
C
14 lines
240 B
C
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int main(void)
|
|
{
|
|
printf("entering endless loop\n");
|
|
for(;;) {
|
|
;
|
|
}
|
|
printf("error: should not come here\n");
|
|
return EXIT_SUCCESS; /* test verifies failure, not success */
|
|
}
|