err.D_AGG_COMM.AggAftCommit.d revision 2633:71bab08d24b2
150476Speter/*
29958Sache * CDDL HEADER START
352379Sache *
452379Sache * The contents of this file are subject to the terms of the
59958Sache * Common Development and Distribution License (the "License").
686073Sache * You may not use this file except in compliance with the License.
786073Sache *
877981Sache * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
977981Sache * or http://www.opensolaris.org/os/licensing.
1077981Sache * See the License for the specific language governing permissions
1177981Sache * and limitations under the License.
1277981Sache *
1377981Sache * When distributing Covered Code, include this CDDL HEADER in each
1477981Sache * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1577981Sache * If applicable, add the following below this CDDL HEADER, with the
1677981Sache * fields enclosed by brackets "[]" replaced with your own identifying
1777981Sache * information: Portions Copyright [yyyy] [name of copyright owner]
1887043Sache *
1977981Sache * CDDL HEADER END
2077981Sache */
2177981Sache
2277981Sache/*
2377981Sache * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2477981Sache * Use is subject to license terms.
2577981Sache */
2677981Sache
2777981Sache#pragma ident	"%Z%%M%	%I%	%E% SMI"
2877981Sache
2977981Sache/*
3077981Sache * ASSERTION:
3177981Sache * A clause cannot contain a commit() followed by an aggregating action.
3277981Sache *
3377981Sache * SECTION: Speculative Tracing/Committing a Speculation;
3477981Sache */
3577981Sache
3677981SacheBEGIN
3777981Sache{
3877981Sache	commit(1);
3977981Sache	@a["foo"] = count();
4077981Sache}
4152379Sache