aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cris/c/exitg2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/cris/c/exitg2.c')
-rw-r--r--sim/testsuite/cris/c/exitg2.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sim/testsuite/cris/c/exitg2.c b/sim/testsuite/cris/c/exitg2.c
new file mode 100644
index 0000000..e222cc4
--- /dev/null
+++ b/sim/testsuite/cris/c/exitg2.c
@@ -0,0 +1,7 @@
+/* Check exit_group(2) trivially with non-zero status.
+#notarget: cris-*-* *-*-elf
+#output: exit_group\n
+#xerror:
+*/
+#define EXITVAL 1
+#include "exitg1.c"