mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
16 lines
279 B
C
16 lines
279 B
C
|
#include <stdio.h>
|
||
|
#include <toku_assert.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <signal.h>
|
||
|
|
||
|
|
||
|
static __attribute__((__noreturn__)) void catch_abort (int sig __attribute__((__unused__))) {
|
||
|
exit(1);
|
||
|
}
|
||
|
|
||
|
int main(void) {
|
||
|
signal (SIGABRT, catch_abort);
|
||
|
assert(0);
|
||
|
return 0;
|
||
|
}
|