ack/lang/cem/libcc.ansi/assert/assert.c
1989-05-10 10:43:58 +00:00

13 lines
229 B
C

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