shithub: scc

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