* sim/cris: New directory with C and assembly tests for the CRIS
[deliverable/binutils-gdb.git] / sim / testsuite / sim / cris / c / sig5.c
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>
11 int main (void)
12 {
13 kill (getpid (), SIGBUS);
14 printf ("xyzzy\n");
15 exit (0);
16 }
This page took 0.029992 seconds and 4 git commands to generate.