xref: /onnv-gate/usr/src/cmd/dtrace/test/tst/i386/pid/tst.badinstr.d (revision 2769:b2e3d55c6e12)
1*2769Sahl /*
2*2769Sahl  * CDDL HEADER START
3*2769Sahl  *
4*2769Sahl  * The contents of this file are subject to the terms of the
5*2769Sahl  * Common Development and Distribution License (the "License").
6*2769Sahl  * You may not use this file except in compliance with the License.
7*2769Sahl  *
8*2769Sahl  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*2769Sahl  * or http://www.opensolaris.org/os/licensing.
10*2769Sahl  * See the License for the specific language governing permissions
11*2769Sahl  * and limitations under the License.
12*2769Sahl  *
13*2769Sahl  * When distributing Covered Code, include this CDDL HEADER in each
14*2769Sahl  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*2769Sahl  * If applicable, add the following below this CDDL HEADER, with the
16*2769Sahl  * fields enclosed by brackets "[]" replaced with your own identifying
17*2769Sahl  * information: Portions Copyright [yyyy] [name of copyright owner]
18*2769Sahl  *
19*2769Sahl  * CDDL HEADER END
20*2769Sahl  */
21*2769Sahl 
22*2769Sahl /*
23*2769Sahl  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24*2769Sahl  * Use is subject to license terms.
25*2769Sahl  */
26*2769Sahl 
27*2769Sahl #pragma ident	"%Z%%M%	%I%	%E% SMI"
28*2769Sahl 
29*2769Sahl /*
30*2769Sahl  * ASSERTION: Make sure that DTrace doesn't explode on an invalid instruction.
31*2769Sahl  */
32*2769Sahl 
33*2769Sahl pid$1:a.out:badfunc:entry
34*2769Sahl {
35*2769Sahl }
36*2769Sahl 
37*2769Sahl BEGIN
38*2769Sahl {
39*2769Sahl 	exit(0);
40*2769Sahl }
41