blob: 49b0dc3ec434c68a92ad3c38f087aec74c45e4e3 [file] [log] [blame]
#include <stdio.h>
#include <stdlib.h>
_Noreturn void __assert_fail(const char *expr, const char *file, int line, const char *func)
{
fprintf(stderr, "Assertion failed: %s (%s: %s: %d)\n", expr, file, func, line);
fflush(NULL);
abort();
}