err.D_PROTO_LEN.maxnoarg.d revision 178476
168349Sobrien/* 268349Sobrien * CDDL HEADER START 3267843Sdelphij * 468349Sobrien * The contents of this file are subject to the terms of the 568349Sobrien * Common Development and Distribution License (the "License"). 668349Sobrien * You may not use this file except in compliance with the License. 768349Sobrien * 8103373Sobrien * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 968349Sobrien * or http://www.opensolaris.org/os/licensing. 1068349Sobrien * See the License for the specific language governing permissions 1168349Sobrien * and limitations under the License. 1268349Sobrien * 13103373Sobrien * When distributing Covered Code, include this CDDL HEADER in each 1468349Sobrien * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1568349Sobrien * If applicable, add the following below this CDDL HEADER, with the 1668349Sobrien * fields enclosed by brackets "[]" replaced with your own identifying 17159764Sobrien * information: Portions Copyright [yyyy] [name of copyright owner] 18159764Sobrien * 19159764Sobrien * CDDL HEADER END 20226048Sobrien */ 21159764Sobrien 22226048Sobrien/* 23226048Sobrien * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24226048Sobrien * Use is subject to license terms. 25226048Sobrien */ 26226048Sobrien 27226048Sobrien#pragma ident "%Z%%M% %I% %E% SMI" 28159764Sobrien 29226048Sobrien/* 30226048Sobrien * ASSERTION: 31226048Sobrien * max() should not accept a call with no arguments 32226048Sobrien * 33159764Sobrien * SECTION: Aggregations/Aggregations 34226048Sobrien * 35226048Sobrien */ 36267843Sdelphij 37267843SdelphijBEGIN 38267843Sdelphij{ 39267843Sdelphij @a[1] = max(); 40267843Sdelphij} 41267843Sdelphij 42267843Sdelphij