1 #include <stdio.h> 2 #include <stdlib.h> 3 __assert_fail(const char * expr,const char * file,int line,const char * func)4_Noreturn void __assert_fail(const char *expr, const char *file, int line, const char *func) 5 { 6 fprintf(stderr, "Assertion failed: %s (%s: %s: %d)\n", expr, file, func, line); 7 abort(); 8 } 9