aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cris/c/syscall4.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/cris/c/syscall4.c')
-rw-r--r--sim/testsuite/cris/c/syscall4.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sim/testsuite/cris/c/syscall4.c b/sim/testsuite/cris/c/syscall4.c
new file mode 100644
index 0000000..ba01cfd
--- /dev/null
+++ b/sim/testsuite/cris/c/syscall4.c
@@ -0,0 +1,9 @@
+/* As the included file, just actually specifying the default.
+#notarget: cris*-*-elf
+#sim: --cris-unknown-syscall=stop
+#xerror:
+#output: Unimplemented syscall: 0 (0x3, 0x2, 0x1, 0x4, 0x6, 0x5)\n
+#output: program stopped with signal 4 (*).\n
+*/
+
+#include "syscall2.c"