1*6e0bee74Sjhaslam /*
2*6e0bee74Sjhaslam  * CDDL HEADER START
3*6e0bee74Sjhaslam  *
4*6e0bee74Sjhaslam  * The contents of this file are subject to the terms of the
5*6e0bee74Sjhaslam  * Common Development and Distribution License (the "License").
6*6e0bee74Sjhaslam  * You may not use this file except in compliance with the License.
7*6e0bee74Sjhaslam  *
8*6e0bee74Sjhaslam  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*6e0bee74Sjhaslam  * or http://www.opensolaris.org/os/licensing.
10*6e0bee74Sjhaslam  * See the License for the specific language governing permissions
11*6e0bee74Sjhaslam  * and limitations under the License.
12*6e0bee74Sjhaslam  *
13*6e0bee74Sjhaslam  * When distributing Covered Code, include this CDDL HEADER in each
14*6e0bee74Sjhaslam  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*6e0bee74Sjhaslam  * If applicable, add the following below this CDDL HEADER, with the
16*6e0bee74Sjhaslam  * fields enclosed by brackets "[]" replaced with your own identifying
17*6e0bee74Sjhaslam  * information: Portions Copyright [yyyy] [name of copyright owner]
18*6e0bee74Sjhaslam  *
19*6e0bee74Sjhaslam  * CDDL HEADER END
20*6e0bee74Sjhaslam  */
21*6e0bee74Sjhaslam 
22*6e0bee74Sjhaslam /*
23*6e0bee74Sjhaslam  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24*6e0bee74Sjhaslam  * Use is subject to license terms.
25*6e0bee74Sjhaslam  */
26*6e0bee74Sjhaslam 
27*6e0bee74Sjhaslam /*
28*6e0bee74Sjhaslam  * ASSERTION:
29*6e0bee74Sjhaslam  *	Positive max() test using negative values
30*6e0bee74Sjhaslam  *
31*6e0bee74Sjhaslam  * SECTION: Aggregations/Aggregations
32*6e0bee74Sjhaslam  *
33*6e0bee74Sjhaslam  * NOTES: This is verifiable simple positive test of the max() function.
34*6e0bee74Sjhaslam  *
35*6e0bee74Sjhaslam  */
36*6e0bee74Sjhaslam 
37*6e0bee74Sjhaslam #pragma D option quiet
38*6e0bee74Sjhaslam 
39*6e0bee74Sjhaslam BEGIN
40*6e0bee74Sjhaslam {
41*6e0bee74Sjhaslam 	@ = max(0);
42*6e0bee74Sjhaslam 	@ = max(-900);
43*6e0bee74Sjhaslam 	exit(0);
44*6e0bee74Sjhaslam }
45