summaryrefslogtreecommitdiff
path: root/regress/sys/kern/exit/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/kern/exit/exit.c')
-rw-r--r--regress/sys/kern/exit/exit.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/regress/sys/kern/exit/exit.c b/regress/sys/kern/exit/exit.c
new file mode 100644
index 00000000000..996ad1cf75c
--- /dev/null
+++ b/regress/sys/kern/exit/exit.c
@@ -0,0 +1,12 @@
+/* $OpenBSD: exit.c,v 1.1 2002/02/08 20:15:14 art Exp $ */
+/*
+ * Written by Artur Grabowski <art@openbsd.org> 2002 Public Domain.
+ */
+#include <stdlib.h>
+
+int
+main()
+{
+ _exit(0);
+ abort();
+}