1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-31 04:04:49 +00:00
cc65/libsrc/common/_afailed.c

22 lines
235 B
C
Raw Normal View History

/*
* _afailed.c
*
* Ullrich von Bassewitz, 06.06.1998
*/
#include <stdio.h>
#include <stdlib.h>
void _afailed (char* file, unsigned line)
{
fprintf (stderr, "ASSERTION FAILED IN %s(%u)\n", file, line);
exit (2);
}