11573Srgrimes/* 21573Srgrimes * CDDL HEADER START 31573Srgrimes * 41573Srgrimes * The contents of this file are subject to the terms of the 51573Srgrimes * Common Development and Distribution License (the "License"). 61573Srgrimes * You may not use this file except in compliance with the License. 71573Srgrimes * 81573Srgrimes * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 91573Srgrimes * or http://www.opensolaris.org/os/licensing. 101573Srgrimes * See the License for the specific language governing permissions 111573Srgrimes * and limitations under the License. 121573Srgrimes * 131573Srgrimes * When distributing Covered Code, include this CDDL HEADER in each 141573Srgrimes * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 151573Srgrimes * If applicable, add the following below this CDDL HEADER, with the 161573Srgrimes * fields enclosed by brackets "[]" replaced with your own identifying 171573Srgrimes * information: Portions Copyright [yyyy] [name of copyright owner] 181573Srgrimes * 191573Srgrimes * CDDL HEADER END 201573Srgrimes */ 211573Srgrimes 221573Srgrimes/* 231573Srgrimes * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 241573Srgrimes * Use is subject to license terms. 251573Srgrimes */ 261573Srgrimes 271573Srgrimes#pragma ident "%Z%%M% %I% %E% SMI" 281573Srgrimes 291573Srgrimes/* 301573Srgrimes * ASSERTION: The D compiler throws a D_IDENT_UNDEF error when sizeof is passed 3123658Speter * an unknown symbol. 321573Srgrimes * 3390039Sobrien * SECTION: Structs and Unions/Member Sizes and Offsets 3490039Sobrien * 351573Srgrimes */ 3671579Sdeischen#pragma D option quiet 371573Srgrimes 381573SrgrimesBEGIN 3953812Salfred{ 4061193Skris printf("sizeof (`): %d\n", sizeof (`)); 4153812Salfred exit(0); 4271579Sdeischen} 431573Srgrimes