xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cris/c/sig3.c (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
1*4b169a6bSchristos /* Check that TRT happens at an abort (3) call, single thread.
2*4b169a6bSchristos #xerror:
3*4b169a6bSchristos #output: program stopped with signal 6 (*).\n
4*4b169a6bSchristos */
5*4b169a6bSchristos 
6*4b169a6bSchristos #include <stdlib.h>
7*4b169a6bSchristos #include <stdio.h>
main(void)8*4b169a6bSchristos int main (void)
9*4b169a6bSchristos {
10*4b169a6bSchristos   abort ();
11*4b169a6bSchristos   printf ("xyzzy\n");
12*4b169a6bSchristos   exit (0);
13*4b169a6bSchristos }
14