12 lines
250 B
C
12 lines
250 B
C
|
#include <assert.h>
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
void __assert_fail(char const *file, int line, char const *func, char const
|
||
|
*expression)
|
||
|
{
|
||
|
fprintf(stderr, "%s:%d:%s: assertion failed: %s\n",
|
||
|
file, line, func, expression);
|
||
|
abort();
|
||
|
}
|