tst.beginexit.d revision 2633:71bab08d24b2
150476Speter/*
29958Sache * CDDL HEADER START
352379Sache *
452379Sache * The contents of this file are subject to the terms of the
59958Sache * Common Development and Distribution License (the "License").
686073Sache * You may not use this file except in compliance with the License.
786073Sache *
877981Sache * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
977981Sache * or http://www.opensolaris.org/os/licensing.
1077981Sache * See the License for the specific language governing permissions
1177981Sache * and limitations under the License.
1277981Sache *
1377981Sache * When distributing Covered Code, include this CDDL HEADER in each
1477981Sache * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1577981Sache * If applicable, add the following below this CDDL HEADER, with the
1677981Sache * fields enclosed by brackets "[]" replaced with your own identifying
1777981Sache * information: Portions Copyright [yyyy] [name of copyright owner]
1887043Sache *
1977981Sache * CDDL HEADER END
2077981Sache */
2177981Sache
2277981Sache/*
2377981Sache * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2477981Sache * Use is subject to license terms.
2577981Sache */
2677981Sache
2777981Sache#pragma ident	"%Z%%M%	%I%	%E% SMI"
2877981Sache
2977981SacheBEGIN
3077981Sache{
3177981Sache	exit(0);
3277981Sache}
3377981Sache
3477981SacheBEGIN
3577981Sache{
3677981Sache	printf("shouldn't be here...");
3777981Sache	here++;
3877981Sache}
3977981Sache
4077981SacheEND
4152379Sache{
4252379Sache	exit(here);
4352379Sache}
4452379Sache