err.D_PDESC_ZERO.nonprofile.d revision 178476
133965Sjdp/*
2130561Sobrien * CDDL HEADER START
3218822Sdim *
433965Sjdp * The contents of this file are subject to the terms of the
533965Sjdp * Common Development and Distribution License (the "License").
633965Sjdp * You may not use this file except in compliance with the License.
733965Sjdp *
833965Sjdp * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
933965Sjdp * or http://www.opensolaris.org/os/licensing.
1033965Sjdp * See the License for the specific language governing permissions
1133965Sjdp * and limitations under the License.
1233965Sjdp *
1333965Sjdp * When distributing Covered Code, include this CDDL HEADER in each
1433965Sjdp * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1533965Sjdp * If applicable, add the following below this CDDL HEADER, with the
1633965Sjdp * fields enclosed by brackets "[]" replaced with your own identifying
1733965Sjdp * information: Portions Copyright [yyyy] [name of copyright owner]
1860484Sobrien *
19218822Sdim * CDDL HEADER END
20218822Sdim */
2133965Sjdp
2233965Sjdp/*
2333965Sjdp * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2433965Sjdp * Use is subject to license terms.
2533965Sjdp */
2677298Sobrien
2733965Sjdp#pragma ident	"%Z%%M%	%I%	%E% SMI"
28104834Sobrien
29218822Sdim/*
30130561Sobrien * ASSERTION:
3133965Sjdp * 	Simple profile provider test;
3233965Sjdp *	Call user created provider. Make sure it gives compilation error.
3377298Sobrien *
3433965Sjdp * SECTION: profile Provider/profile-n probes
35218822Sdim *
36130561Sobrien */
37130561Sobrien
38130561Sobrien#pragma D option quiet
39130561Sobrien
40130561SobrienBEGIN
41130561Sobrien{
42130561Sobrien	i = 0;
43130561Sobrien}
44130561Sobrien
45130561Sobrienprofile:::test
46130561Sobrien/i < 3/
47130561Sobrien{
4833965Sjdp	i++;
4933965Sjdp	trace(i);
5077298Sobrien}
5133965Sjdp