summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/cris/c/sig3.c
blob: f61372909291966146acb1bdc8103502d81386eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Check that TRT happens at an abort (3) call, single thread.
#xerror:
#output: program stopped with signal 6.\n
*/

#include <stdlib.h>
#include <stdio.h>
int main (void)
{
  abort ();
  printf ("xyzzy\n");
  exit (0);
}