mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
fb7d4acd5c
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 */
|
|
}
|