err.D_DECL_IDRED.redef2.d revision 178476
154803Srwatson/*
2160146Srwatson * CDDL HEADER START
354803Srwatson *
454803Srwatson * The contents of this file are subject to the terms of the
585845Srwatson * Common Development and Distribution License (the "License").
685845Srwatson * You may not use this file except in compliance with the License.
754803Srwatson *
854803Srwatson * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
954803Srwatson * or http://www.opensolaris.org/os/licensing.
1054803Srwatson * See the License for the specific language governing permissions
1154803Srwatson * and limitations under the License.
1254803Srwatson *
1354803Srwatson * When distributing Covered Code, include this CDDL HEADER in each
1454803Srwatson * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1554803Srwatson * If applicable, add the following below this CDDL HEADER, with the
1654803Srwatson * fields enclosed by brackets "[]" replaced with your own identifying
1754803Srwatson * information: Portions Copyright [yyyy] [name of copyright owner]
1854803Srwatson *
1954803Srwatson * CDDL HEADER END
2054803Srwatson */
2154803Srwatson
2254803Srwatson/*
2354803Srwatson * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2454803Srwatson * Use is subject to license terms.
2554803Srwatson */
2654803Srwatson
2754803Srwatson#pragma ident	"%Z%%M%	%I%	%E% SMI"
2854803Srwatson
2973890Srwatson/*
30160146Srwatson * ASSERTION:
31160146Srwatson *
32160146Srwatson * Test handling of an inline definition that overrides a previous
33160146Srwatson * definition of a dtrace built-in function.
3454803Srwatson *
3554803Srwatson * SECTION: Type and Constant Definitions/Inlines
36116182Sobrien *
37116182Sobrien * NOTES:
38116182Sobrien *
3954803Srwatson */
4054803Srwatson
41150262Scsjpinline int rand = 7;
42164033Srwatson