summaryrefslogtreecommitdiff
path: root/src/assert/assert.c
blob: 2a5551a47f875e9af726c78c8f7b933a96d9e55f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdlib.h>
#include "stdlib/_stdlib.h"

_Noreturn void assert(int exp)
{
	(void)exp;
	__stdlib.constraint_handler("Undefined Behavior: The assert() macro has been suppressed to access an actual function", NULL, 0);
	abort();
}

/*
STDC(0)
*/