shithub: scc

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