aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cris/c/syscall3.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/cris/c/syscall3.c')
-rw-r--r--sim/testsuite/cris/c/syscall3.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sim/testsuite/cris/c/syscall3.c b/sim/testsuite/cris/c/syscall3.c
new file mode 100644
index 0000000..f4d02eb
--- /dev/null
+++ b/sim/testsuite/cris/c/syscall3.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: 166 (0x1, 0x2, 0x3, 0x4, 0x5, 0x6)\n
+#output: program stopped with signal 4 (*).\n
+*/
+
+#include "syscall1.c"