shithub: scc

ref: 7fee89eaa80658de4de6bd96cc479232bbcca627
dir: /tests/libc/execute/0001-abort.c/

View raw version

#include <signal.h>
#include <stdlib.h>

void
handler(int dummy)
{
	exit(EXIT_SUCCESS);
}

int
main(void)
{
	signal(SIGABRT, handler);
	abort();

	return 1;
}