1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 21:32:19 +00:00
cc65/libsrc/common/_afailed.c

23 lines
272 B
C

/*
** _afailed.c
**
** 1998-06-06, Ullrich von Bassewitz
** 2015-03-13, Greg King
*/
#include <stdio.h>
#include <stdlib.h>
void __fastcall__ _afailed (char* file, unsigned line)
{
fprintf (stderr, "ASSERTION FAILED IN %s(%u)\n", file, line);
exit (2);
}