aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cris/c/syscall5.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/cris/c/syscall5.c')
-rw-r--r--sim/testsuite/cris/c/syscall5.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sim/testsuite/cris/c/syscall5.c b/sim/testsuite/cris/c/syscall5.c
new file mode 100644
index 0000000..2eac900
--- /dev/null
+++ b/sim/testsuite/cris/c/syscall5.c
@@ -0,0 +1,9 @@
+/* As the included file, but specifying ENOSYS with message.
+#notarget: cris*-*-elf
+#sim: --cris-unknown-syscall=enosys
+#output: Unimplemented syscall: 166 (0x1, 0x2, 0x3, 0x4, 0x5, 0x6)\n
+#output: ENOSYS\n
+#output: xyzzy\n
+*/
+
+#include "syscall1.c"