shithub: scc

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