tst.initialize.d revision 178477
17090Sbde/* 27090Sbde * CDDL HEADER START 37090Sbde * 47090Sbde * The contents of this file are subject to the terms of the 57090Sbde * Common Development and Distribution License (the "License"). 67090Sbde * You may not use this file except in compliance with the License. 77090Sbde * 87090Sbde * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97090Sbde * or http://www.opensolaris.org/os/licensing. 107090Sbde * See the License for the specific language governing permissions 117090Sbde * and limitations under the License. 127090Sbde * 137090Sbde * When distributing Covered Code, include this CDDL HEADER in each 147090Sbde * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157090Sbde * If applicable, add the following below this CDDL HEADER, with the 167090Sbde * fields enclosed by brackets "[]" replaced with your own identifying 177090Sbde * information: Portions Copyright [yyyy] [name of copyright owner] 187090Sbde * 197090Sbde * CDDL HEADER END 207090Sbde */ 217090Sbde 227090Sbde/* 237090Sbde * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 247090Sbde * Use is subject to license terms. 257090Sbde */ 267090Sbde 277090Sbde#pragma ident "%Z%%M% %I% %E% SMI" 287090Sbde 2950477Speter/* 307090Sbde * ASSERTION: 317090Sbde * 327090Sbde * Clause local variables are not initialized to zero. 337090Sbde * 347090Sbde * SECTION: Variables/Associative Arrays 357090Sbde * 367090Sbde * 377090Sbde */ 387090Sbde 39113090Sdes#pragma D option quiet 40113090Sdes 41113090Sdesthis int x; 42113090Sdes 43113090SdesBEGIN 44102600Speter{ 4516875Sbde printf("the value of x is %d\n", this->x); 4633008Sbde exit(0); 47108947Sjhb} 4837553Sbde