mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
17 lines
310 B
C
17 lines
310 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);
|
||
|
int result = 42;
|
||
|
assert_zero(result);
|
||
|
return 0;
|
||
|
}
|