mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
63b1969fbb
git-svn-id: file:///svn/toku/tokudb@43179 c7de825b-a66e-492c-adef-691d508d4ae1
16 lines
310 B
C
16 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;
|
|
}
|