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

13 lines
229 B
C
Raw Normal View History

1989-05-10 10:43:58 +00:00
/*
* 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);
}