1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 15:05:14 +00:00
cc65/test/misc/endless.c
bbbradsmith fb7d4acd5c versionable header for sim65
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
2019-05-29 22:56:51 +02:00

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 */
}