198944Sobrien/*
2130803Smarcel * CDDL HEADER START
3130803Smarcel *
4130803Smarcel * The contents of this file are subject to the terms of the
598944Sobrien * Common Development and Distribution License (the "License").
698944Sobrien * You may not use this file except in compliance with the License.
798944Sobrien *
898944Sobrien * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
998944Sobrien * or http://www.opensolaris.org/os/licensing.
1098944Sobrien * See the License for the specific language governing permissions
1198944Sobrien * and limitations under the License.
1298944Sobrien *
1398944Sobrien * When distributing Covered Code, include this CDDL HEADER in each
1498944Sobrien * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1598944Sobrien * If applicable, add the following below this CDDL HEADER, with the
1698944Sobrien * fields enclosed by brackets "[]" replaced with your own identifying
1798944Sobrien * information: Portions Copyright [yyyy] [name of copyright owner]
1898944Sobrien *
1998944Sobrien * CDDL HEADER END
2098944Sobrien */
2198944Sobrien
2298944Sobrien/*
2398944Sobrien * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2498944Sobrien * Use is subject to license terms.
2598944Sobrien */
2698944Sobrien
2798944Sobrien#pragma ident	"%Z%%M%	%I%	%E% SMI"
2898944Sobrien
2998944Sobrien
3098944Sobrien/*
3198944Sobrien * ASSERTION:
3298944Sobrien *  Test printf() with a bad aggregation arg.
33130803Smarcel *
3498944Sobrien * SECTION: Output Formatting/printf()
3598944Sobrien *
3698944Sobrien */
3798944Sobrien
3898944SobrienBEGIN
3998944Sobrien{
4098944Sobrien	@a = count();
4198944Sobrien	printf("hello %d %d", 123, @a);
4298944Sobrien}
4398944Sobrien