1/* Check that TRT happens for an uncaught non-abort signal, single thread. 2#xerror: 3#output: Unimplemented signal: 7\n 4#output: program stopped with signal 4.\n 5*/ 6 7#include <stdlib.h> 8#include <stdio.h> 9#include <sys/types.h> 10#include <signal.h> 11int main (void) 12{ 13 kill (getpid (), SIGBUS); 14 printf ("xyzzy\n"); 15 exit (0); 16} 17