9 lines
250 B
C
9 lines
250 B
C
|
|
#include <stdlib.h>
|
||
|
|
#include <stdio.h>
|
||
|
|
|
||
|
|
extern void _Noreturn __assert_fail(const char *exp, const char *func, const char *file, int line)
|
||
|
|
{
|
||
|
|
printf("Assertion failed: (%s), function %s, file %s, line %d\n", exp, func, file, line);
|
||
|
|
abort();
|
||
|
|
}
|