err.D_SYNTAX.errassign.d revision 178476
11553Srgrimes/* 21553Srgrimes * CDDL HEADER START 3101044Sdes * 4101044Sdes * The contents of this file are subject to the terms of the 51553Srgrimes * Common Development and Distribution License (the "License"). 6101044Sdes * You may not use this file except in compliance with the License. 7101044Sdes * 8101044Sdes * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9101044Sdes * or http://www.opensolaris.org/os/licensing. 10101044Sdes * See the License for the specific language governing permissions 111553Srgrimes * and limitations under the License. 121553Srgrimes * 131553Srgrimes * When distributing Covered Code, include this CDDL HEADER in each 141553Srgrimes * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 151553Srgrimes * If applicable, add the following below this CDDL HEADER, with the 161553Srgrimes * fields enclosed by brackets "[]" replaced with your own identifying 171553Srgrimes * information: Portions Copyright [yyyy] [name of copyright owner] 181553Srgrimes * 191553Srgrimes * CDDL HEADER END 201553Srgrimes */ 211553Srgrimes 221553Srgrimes/* 231553Srgrimes * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 241553Srgrimes * Use is subject to license terms. 251553Srgrimes */ 261553Srgrimes 271553Srgrimes#pragma ident "%Z%%M% %I% %E% SMI" 281553Srgrimes 291553Srgrimes/* 301553Srgrimes * ASSERTION: 311553Srgrimes * 321553Srgrimes * Assign one to 10 elements; make sure fails to compile. 331553Srgrimes * 341553Srgrimes * SECTION: Variables/Associative Arrays 3523687Speter * 3650479Speter */ 371553Srgrimes 38272963SjillesBEGIN 391553Srgrimes{ 4079537Sru x[10]=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; 411553Srgrimes} 4215279Sjoerg 4315279SjoergEND 441553Srgrimes{ 451553Srgrimes} 4668965Sru