err.D_DECL_ARRSUB.bad.d revision 285830
1259701Sdim/* 2259701Sdim * CDDL HEADER START 3353358Sdim * 4353358Sdim * The contents of this file are subject to the terms of the 5353358Sdim * Common Development and Distribution License (the "License"). 6259701Sdim * You may not use this file except in compliance with the License. 7259701Sdim * 8259701Sdim * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9259701Sdim * or http://www.opensolaris.org/os/licensing. 10259701Sdim * See the License for the specific language governing permissions 11259701Sdim * and limitations under the License. 12259701Sdim * 13259701Sdim * When distributing Covered Code, include this CDDL HEADER in each 14259701Sdim * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15280031Sdim * If applicable, add the following below this CDDL HEADER, with the 16280031Sdim * fields enclosed by brackets "[]" replaced with your own identifying 17259701Sdim * information: Portions Copyright [yyyy] [name of copyright owner] 18259701Sdim * 19288943Sdim * CDDL HEADER END 20259701Sdim */ 21259701Sdim 22276479Sdim/* 23259701Sdim * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24259701Sdim * Use is subject to license terms. 25259701Sdim */ 26259701Sdim 27259701Sdim#pragma ident "%Z%%M% %I% %E% SMI" 28259701Sdim 29259701Sdim/* 30259701Sdim * ASSERTION: 31259701Sdim * Arrays declarations must have a positive constant as a 32259701Sdim * subscription. 33259701Sdim * 34259701Sdim * SECTION: Pointers and Arrays/Array Declarations and Storage 35259701Sdim */ 36259701Sdim 37259701Sdimint a[-7]; 38259701Sdim 39259701SdimBEGIN 40259701Sdim{ 41259701Sdim exit(0); 42259701Sdim} 43259701Sdim