1570af302Sopenharmony_ci#include "assert.h"
2570af302Sopenharmony_ci
3570af302Sopenharmony_civoid __assert_fail(const char* expr, const char* file, int line, const char* func) {
4570af302Sopenharmony_ci  printf("%s:%d: %s: assertion \"%s\" failed\n", file, line, func, expr);
5570af302Sopenharmony_ci  while (1);
6570af302Sopenharmony_ci}
7