16073Salanb/*
25116Smichaelm * CDDL HEADER START
35116Smichaelm *
45116Smichaelm * The contents of this file are subject to the terms of the
55116Smichaelm * Common Development and Distribution License (the "License").
65116Smichaelm * You may not use this file except in compliance with the License.
75116Smichaelm *
85116Smichaelm * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
95116Smichaelm * or http://www.opensolaris.org/os/licensing.
105116Smichaelm * See the License for the specific language governing permissions
115116Smichaelm * and limitations under the License.
125116Smichaelm *
135116Smichaelm * When distributing Covered Code, include this CDDL HEADER in each
145116Smichaelm * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
155116Smichaelm * If applicable, add the following below this CDDL HEADER, with the
165116Smichaelm * fields enclosed by brackets "[]" replaced with your own identifying
175116Smichaelm * information: Portions Copyright [yyyy] [name of copyright owner]
185116Smichaelm *
195116Smichaelm * CDDL HEADER END
205116Smichaelm */
215116Smichaelm
225116Smichaelm/*
235116Smichaelm * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
245116Smichaelm * Use is subject to license terms.
25 */
26
27#pragma ident	"%Z%%M%	%I%	%E% SMI"
28
29/*
30 * ASSERTION:
31 *	Verify invalid attributes
32 *
33 * SECTION: Pragmas;
34 *	Stabilty/Interface Attributes
35 */
36
37
38inline int foo
39
40#pragma D attributes incorrect_attr foo
41
42BEGIN
43{
44	exit(0);
45}
46