Initial revision
This commit is contained in:
parent
85c9115d5b
commit
f0cec58cf9
12
lang/cem/libcc.ansi/assert/assert.c
Normal file
12
lang/cem/libcc.ansi/assert/assert.c
Normal file
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* assert.c - diagnostics
|
||||
*/
|
||||
/* $Header$ */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
void _bad_assertion(const char *expr, const char *file, int line) {
|
||||
|
||||
fprintf(stderr,"Assertion \"%s\" failed, file \"%s\", line %d\n",
|
||||
expr, file, line);
|
||||
}
|
Loading…
Reference in a new issue