err.D_PROTO_LEN.toomany.d revision 178477
1168054Sflz/* 2168054Sflz * CDDL HEADER START 3168266Sgabor * 4168266Sgabor * The contents of this file are subject to the terms of the 5168266Sgabor * Common Development and Distribution License (the "License"). 6168266Sgabor * You may not use this file except in compliance with the License. 7168266Sgabor * 8168266Sgabor * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9168266Sgabor * or http://www.opensolaris.org/os/licensing. 10168266Sgabor * See the License for the specific language governing permissions 11168054Sflz * and limitations under the License. 12168054Sflz * 13168064Sflz * When distributing Covered Code, include this CDDL HEADER in each 14168064Sflz * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15168064Sflz * If applicable, add the following below this CDDL HEADER, with the 16168064Sflz * fields enclosed by brackets "[]" replaced with your own identifying 17168064Sflz * information: Portions Copyright [yyyy] [name of copyright owner] 18168064Sflz * 19168064Sflz * CDDL HEADER END 20168064Sflz */ 21168064Sflz 22168064Sflz/* 23168064Sflz * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24168064Sflz * Use is subject to license terms. 25168064Sflz */ 26168064Sflz 27168054Sflz#pragma ident "%Z%%M% %I% %E% SMI" 28168054Sflz 29168064Sflz/* 30168054Sflz * ASSERTION: 31168188Sgabor * Test an associative array reference that is invalid because of too many 32168357Syar * arguments -- this should produce a syntax error at compile time. 33168673Sjulian * 34168188Sgabor * SECTION: Variables/Associative Arrays 35168263Sru * 36168194Simp */ 37168357Syar 38168188SgaborBEGIN 39168188Sgabor{ 40168188Sgabor x[123, 456] = timestamp; 41168188Sgabor} 42168188Sgabor 43168188SgaborEND 44168188Sgabor{ 45168202Sume x[123, 456, 789] = timestamp; 46168188Sgabor} 47168188Sgabor