err.D_DECL_ENCONST.badeval.d revision 178476
1249109Sjkim/*
2249109Sjkim * CDDL HEADER START
3249109Sjkim *
4249109Sjkim * The contents of this file are subject to the terms of the
5249109Sjkim * Common Development and Distribution License (the "License").
6249109Sjkim * You may not use this file except in compliance with the License.
7249109Sjkim *
8249109Sjkim * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9249109Sjkim * or http://www.opensolaris.org/os/licensing.
10249109Sjkim * See the License for the specific language governing permissions
11249109Sjkim * and limitations under the License.
12249109Sjkim *
13249109Sjkim * When distributing Covered Code, include this CDDL HEADER in each
14249109Sjkim * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15249109Sjkim * If applicable, add the following below this CDDL HEADER, with the
16249109Sjkim * fields enclosed by brackets "[]" replaced with your own identifying
17249109Sjkim * information: Portions Copyright [yyyy] [name of copyright owner]
18249109Sjkim *
19249109Sjkim * CDDL HEADER END
20249109Sjkim */
21249109Sjkim
22249109Sjkim/*
23249109Sjkim * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24249109Sjkim * Use is subject to license terms.
25249109Sjkim */
26249109Sjkim
27249109Sjkim#pragma ident	"%Z%%M%	%I%	%E% SMI"
28249109Sjkim
29249109Sjkim/*
30249109Sjkim * ASSERTION:
31249109Sjkim *   Attempt a bogus enum declaration by assigning a non-constant expression
32249109Sjkim *   to an enumerator.
33249109Sjkim *
34249109Sjkim * SECTION: Type and Constant Definitions/Enumerations
35249109Sjkim */
36249109Sjkim
37249109Sjkimenum e {
38249109Sjkim	TAG = "i am not an integer constant!"
39249109Sjkim};
40249109Sjkim