]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/decls/tst.basics.d
MFC r368207,368607:
[FreeBSD/stable/10.git] / cddl / contrib / opensolaris / cmd / dtrace / test / tst / common / decls / tst.basics.d
1 /*
2  * CDDL HEADER START
3  *
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.
7  *
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.
12  *
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]
18  *
19  * CDDL HEADER END
20  */
21
22 /*
23  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
26
27 #pragma ident   "%Z%%M% %I%     %E% SMI"
28
29
30 /*
31  * ASSERTION:
32  *  Test a variety of extern declarations that exercise the different
33  *  kinds of declarations that we can process.
34  *
35  * SECTION:  Program Structure/Probe Clauses and Declarations
36  *
37  */
38
39 extern void *e1;
40 extern char e2;
41 extern signed char e3;
42 extern unsigned char e4;
43 extern short e5;
44 extern signed short e6;
45 extern unsigned short e7;
46 extern int e8;
47 extern e9;
48 extern signed int e10;
49 extern unsigned int e11;
50 extern long e12;
51 extern signed long e13;
52 extern unsigned long e14;
53 extern long long e15;
54 extern signed long long e16;
55 extern unsigned long long e17;
56 extern float e18;
57 extern double e19;
58 extern long double e20;
59 extern vnode_t e21;
60 extern struct vnode e22;
61 extern union sigval e23;
62 extern enum uio_rw e24;
63
64 BEGIN
65 {
66         exit(0);
67 }