shithub: scc

ref: ad9537bd2daa3be47f01d68f25c034aaab83ed15
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;
}