8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / dtrace / test / tst / common / aggs / tst.order.d
blob139001164b6a384af1f9ebe6ec2e3a612a943ac2
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
19 * CDDL HEADER END
23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 #pragma ident "%Z%%M% %I% %E% SMI"
29 #pragma D option quiet
31 BEGIN
33 @[8] = sum(1);
34 @[6] = sum(1);
35 @[7] = sum(1);
36 @[5] = sum(1);
37 @[3] = sum(1);
38 @[0] = sum(1);
39 @[9] = sum(1);
41 @tour["Ghent"] = sum(1);
42 @tour["Berlin"] = sum(1);
43 @tour["London"] = sum(1);
44 @tour["Dublin"] = sum(1);
45 @tour["Shanghai"] = sum(1);
46 @tour["Zurich"] = sum(1);
47 @tour["Regina"] = sum(1);
48 @tour["Winnipeg"] = sum(1);
49 @tour["Edmonton"] = sum(1);
50 @tour["Calgary"] = sum(1);
52 @ate[8, "Rice"] = sum(1);
53 @ate[8, "Oatmeal"] = sum(1);
54 @ate[8, "Barley"] = sum(1);
55 @ate[8, "Carrots"] = sum(1);
56 @ate[8, "Sweet potato"] = sum(1);
57 @ate[8, "Asparagus"] = sum(1);
58 @ate[8, "Squash"] = sum(1);
60 @chars['a'] = sum(1);
61 @chars['s'] = sum(1);
62 @chars['d'] = sum(1);
63 @chars['f'] = sum(1);
65 printa("%d\n", @);
66 printf("\n");
68 printa("%s\n", @tour);
69 printf("\n");
71 printa("%d %s\n", @ate);
72 printf("\n");
74 printa("%c\n", @chars);
75 printf("\n");
77 exit(0);