133965Sjdp/* Check that TRT happens for an ignored catchable signal, single thread.
278828Sobrien#xerror:
3218822Sdim#output: Unimplemented signal: 14\n
4218822Sdim#output: program stopped with signal 4.\n
533965Sjdp
633965Sjdp   Sure, it'd probably be better to support signals in single-thread too,
733965Sjdp   but that's on an as-need basis, and I don't have a need for it yet.  */
833965Sjdp
933965Sjdp#include <stdlib.h>
1033965Sjdp#include <stdio.h>
1133965Sjdp#include <sys/types.h>
1233965Sjdp#include <signal.h>
1333965Sjdpint main (void)
1433965Sjdp{
1533965Sjdp  signal (SIGALRM, SIG_IGN);
1633965Sjdp  kill (getpid (), SIGALRM);
1733965Sjdp  printf ("xyzzy\n");
1833965Sjdp  exit (0);
1933965Sjdp}
2033965Sjdp