Sign in
cobalt
/
cobalt
/
07081467c3d00b04a6a1162e0566a5a8b9cfe2d5
/
.
/
third_party
/
musl
/
src
/
exit
/
assert.c
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
();
}