err.ifdefelsenotendif.d revision 9512fe850e98fdd448c638ca63fdd92a8a510255
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley/*
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley * CDDL HEADER START
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley *
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley * The contents of this file are subject to the terms of the
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley * Common Development and Distribution License (the "License").
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley * You may not use this file except in compliance with the License.
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley *
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley * or http://www.opensolaris.org/os/licensing.
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley * See the License for the specific language governing permissions
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley * and limitations under the License.
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley *
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley * When distributing Covered Code, include this CDDL HEADER in each
a75f433c831be334df8f1eafa9f77e940b5ae58cBob Halley * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley * If applicable, add the following below this CDDL HEADER, with the
a75f433c831be334df8f1eafa9f77e940b5ae58cBob Halley * fields enclosed by brackets "[]" replaced with your own identifying
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley * information: Portions Copyright [yyyy] [name of copyright owner]
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley *
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley * CDDL HEADER END
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley */
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley/*
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley * Use is subject to license terms.
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley */
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley#pragma ident "%Z%%M% %I% %E% SMI"
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley/*
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley * ASSERTION:
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley *
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley * Call ifdef statement without endif statement.
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley *
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley * SECTION: Program Structure/Use of the C Preprocessor
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley *
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley */
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley#if !defined (FLAG)
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley#define RETURN 5
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley#else
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley#define RETURN 10
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley#pragma D option quiet
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halleytick-10ms
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley{
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley printf("The value is %d\n", RETURN);
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley exit(0);
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley}
4c7d0f3c386a609d596152a6956d1fd5f1d43aa4Bob Halley