err.D_DECL_BFSIZE.GreaterThan64.d revision 14ea49401f3c8c61422aefbda43809e275f60c6c
9bee881471745317e907eefbacf9ef344c74c899vboxsync/*
9bee881471745317e907eefbacf9ef344c74c899vboxsync * CDDL HEADER START
9bee881471745317e907eefbacf9ef344c74c899vboxsync *
9bee881471745317e907eefbacf9ef344c74c899vboxsync * The contents of this file are subject to the terms of the
9bee881471745317e907eefbacf9ef344c74c899vboxsync * Common Development and Distribution License (the "License").
9bee881471745317e907eefbacf9ef344c74c899vboxsync * You may not use this file except in compliance with the License.
772269936494ffaddd0750ba9e28e805ba81398cvboxsync *
9bee881471745317e907eefbacf9ef344c74c899vboxsync * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cf5f6bf2704d4fff443139e10bccc6a0a7fa4b85vboxsync * or http://www.opensolaris.org/os/licensing.
cf5f6bf2704d4fff443139e10bccc6a0a7fa4b85vboxsync * See the License for the specific language governing permissions
cf5f6bf2704d4fff443139e10bccc6a0a7fa4b85vboxsync * and limitations under the License.
cf5f6bf2704d4fff443139e10bccc6a0a7fa4b85vboxsync *
cf5f6bf2704d4fff443139e10bccc6a0a7fa4b85vboxsync * When distributing Covered Code, include this CDDL HEADER in each
cf5f6bf2704d4fff443139e10bccc6a0a7fa4b85vboxsync * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
cf5f6bf2704d4fff443139e10bccc6a0a7fa4b85vboxsync * If applicable, add the following below this CDDL HEADER, with the
cf5f6bf2704d4fff443139e10bccc6a0a7fa4b85vboxsync * fields enclosed by brackets "[]" replaced with your own identifying
9bee881471745317e907eefbacf9ef344c74c899vboxsync * information: Portions Copyright [yyyy] [name of copyright owner]
9bee881471745317e907eefbacf9ef344c74c899vboxsync *
772269936494ffaddd0750ba9e28e805ba81398cvboxsync * CDDL HEADER END
9bee881471745317e907eefbacf9ef344c74c899vboxsync */
9bee881471745317e907eefbacf9ef344c74c899vboxsync
049e724686798c0586becdb5289bebd299ae1269vboxsync/*
9bee881471745317e907eefbacf9ef344c74c899vboxsync * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
9bee881471745317e907eefbacf9ef344c74c899vboxsync * Use is subject to license terms.
c146ed80a8e201270ef80286d814576c1b4e4c88vboxsync */
9bee881471745317e907eefbacf9ef344c74c899vboxsync
c146ed80a8e201270ef80286d814576c1b4e4c88vboxsync#pragma ident "%Z%%M% %I% %E% SMI"
c146ed80a8e201270ef80286d814576c1b4e4c88vboxsync
9bee881471745317e907eefbacf9ef344c74c899vboxsync/*
9bee881471745317e907eefbacf9ef344c74c899vboxsync * ASSERTION: Bit-field width cannot be greater than 64 bits in D.
9bee881471745317e907eefbacf9ef344c74c899vboxsync *
32b1164f35483be483177be7b5235002a4a5afbevboxsync * SECTION: Structs and Unions/Bit-Fields
32b1164f35483be483177be7b5235002a4a5afbevboxsync */
c146ed80a8e201270ef80286d814576c1b4e4c88vboxsync
9bee881471745317e907eefbacf9ef344c74c899vboxsync#pragma D option quiet
9bee881471745317e907eefbacf9ef344c74c899vboxsync
c146ed80a8e201270ef80286d814576c1b4e4c88vboxsyncstruct bitRecord{
9bee881471745317e907eefbacf9ef344c74c899vboxsync int a : 1;
c146ed80a8e201270ef80286d814576c1b4e4c88vboxsync int b : 65;
9bee881471745317e907eefbacf9ef344c74c899vboxsync int c : 12;
9bee881471745317e907eefbacf9ef344c74c899vboxsync} var;
9bee881471745317e907eefbacf9ef344c74c899vboxsync
32b1164f35483be483177be7b5235002a4a5afbevboxsyncBEGIN
32b1164f35483be483177be7b5235002a4a5afbevboxsync{
9bee881471745317e907eefbacf9ef344c74c899vboxsync exit(0);
772269936494ffaddd0750ba9e28e805ba81398cvboxsync}
9bee881471745317e907eefbacf9ef344c74c899vboxsync