summaryrefslogtreecommitdiff
path: root/regress/lib/csu/dtors/Makefile
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-02-18 11:09:49 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-02-18 11:09:49 +0000
commit9bd65ed8ba991089de89864bbd7dab960cc7913b (patch)
tree900c07d2f8c999b7d94150cd0d18a2ae1f3f1d09 /regress/lib/csu/dtors/Makefile
parent59c764609f8dc6f78d191dcf8ea8a123b68fb8d5 (diff)
Also test is dtors are run if we return from main.
Diffstat (limited to 'regress/lib/csu/dtors/Makefile')
-rw-r--r--regress/lib/csu/dtors/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/regress/lib/csu/dtors/Makefile b/regress/lib/csu/dtors/Makefile
index 128714f7187..01bc4b1e029 100644
--- a/regress/lib/csu/dtors/Makefile
+++ b/regress/lib/csu/dtors/Makefile
@@ -1,4 +1,13 @@
-# $OpenBSD: Makefile,v 1.1 2002/01/31 16:35:46 art Exp $
+# $OpenBSD: Makefile,v 1.2 2002/02/18 11:09:48 art Exp $
+
PROG=dtors
+REGRESSTARGETS=dtor-exit dtor-return
+
+dtor-exit: dtors
+ ./dtors
+
+dtor-return: dtors
+ ./dtors -f
+
.include <bsd.regress.mk>