af062818b47340eef15700d2f0211576ba3506eevboxsync/*
af062818b47340eef15700d2f0211576ba3506eevboxsync * CDDL HEADER START
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * The contents of this file are subject to the terms of the
af062818b47340eef15700d2f0211576ba3506eevboxsync * Common Development and Distribution License (the "License").
af062818b47340eef15700d2f0211576ba3506eevboxsync * You may not use this file except in compliance with the License.
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
af062818b47340eef15700d2f0211576ba3506eevboxsync * or http://www.opensolaris.org/os/licensing.
af062818b47340eef15700d2f0211576ba3506eevboxsync * See the License for the specific language governing permissions
af062818b47340eef15700d2f0211576ba3506eevboxsync * and limitations under the License.
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * When distributing Covered Code, include this CDDL HEADER in each
af062818b47340eef15700d2f0211576ba3506eevboxsync * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
af062818b47340eef15700d2f0211576ba3506eevboxsync * If applicable, add the following below this CDDL HEADER, with the
af062818b47340eef15700d2f0211576ba3506eevboxsync * fields enclosed by brackets "[]" replaced with your own identifying
af062818b47340eef15700d2f0211576ba3506eevboxsync * information: Portions Copyright [yyyy] [name of copyright owner]
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * CDDL HEADER END
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync */
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync/*
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * Use is subject to license terms.
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync */
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync#pragma ident "%Z%%M% %I% %E% SMI"
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync/*
af062818b47340eef15700d2f0211576ba3506eevboxsync * ASSERTION:
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * Test invocation of offsetof() with a type that is not a struct or union.
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * SECTION: Structs and Unions/Member Sizes and Offsets
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * NOTES:
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync */
5112e32d7072e280613921c982a6672f2c859cf3vboxsync
5112e32d7072e280613921c982a6672f2c859cf3vboxsyncBEGIN
af062818b47340eef15700d2f0211576ba3506eevboxsync{
af062818b47340eef15700d2f0211576ba3506eevboxsync trace(offsetof(int, x));
af062818b47340eef15700d2f0211576ba3506eevboxsync}
af062818b47340eef15700d2f0211576ba3506eevboxsync