shithub: scc

ref: d913a96fcbfe9650f1f824283a87de6586a8efdb
dir: /tests/libc/execute/0004-abort.c/

View raw version
#include <assert.h>
#include <stdio.h>
#include <signal.h>
#include <stdlib.h>

/*
output:
aborting
end:
*/

int
main(void)
{
	printf("aborting\n");
	assert(signal(SIGABRT, SIG_IGN) != SIG_ERR);
	abort();
	printf("borning\n");

	return 0;
}