Sign in
cobalt
/
cobalt
/
08336faa599332e3e3bf29b7ad38ef023018b55e
/
.
/
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
();
}