tst.basics.d revision 2633:71bab08d24b2
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 39extern void *e1; 40extern char e2; 41extern signed char e3; 42extern unsigned char e4; 43extern short e5; 44extern signed short e6; 45extern unsigned short e7; 46extern int e8; 47extern e9; 48extern signed int e10; 49extern unsigned int e11; 50extern long e12; 51extern signed long e13; 52extern unsigned long e14; 53extern long long e15; 54extern signed long long e16; 55extern unsigned long long e17; 56extern float e18; 57extern double e19; 58extern long double e20; 59extern vnode_t e21; 60extern struct vnode e22; 61extern union sigval e23; 62extern enum uio_rw e24; 63 64BEGIN 65{ 66 exit(0); 67} 68