ack/lang/cem/libcc.ansi/assert/assert.c

16 lines
181 B
C
Raw Normal View History

1989-05-10 10:43:58 +00:00
/*
* assert.c - diagnostics
*/
1994-06-24 14:02:31 +00:00
/* $Id$ */
1989-05-10 10:43:58 +00:00
2018-06-21 20:33:47 +00:00
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
1989-05-10 10:43:58 +00:00
2018-06-21 20:33:47 +00:00
void __bad_assertion(const char* mess)
{
1989-05-10 10:43:58 +00:00
fputs(mess, stderr);
abort();
1989-05-10 10:43:58 +00:00
}