man.ELFGeneration.d revision 178477
112657Skvn/* 212657Skvn * CDDL HEADER START 312657Skvn * 412657Skvn * The contents of this file are subject to the terms of the 512657Skvn * Common Development and Distribution License (the "License"). 612657Skvn * You may not use this file except in compliance with the License. 712657Skvn * 812657Skvn * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 912657Skvn * or http://www.opensolaris.org/os/licensing. 1012657Skvn * See the License for the specific language governing permissions 1112657Skvn * and limitations under the License. 1212657Skvn * 1312657Skvn * When distributing Covered Code, include this CDDL HEADER in each 1412657Skvn * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1512657Skvn * If applicable, add the following below this CDDL HEADER, with the 1612657Skvn * fields enclosed by brackets "[]" replaced with your own identifying 1712657Skvn * information: Portions Copyright [yyyy] [name of copyright owner] 1812657Skvn * 1912657Skvn * CDDL HEADER END 2012657Skvn */ 2112657Skvn 2212657Skvn/* 2312657Skvn * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 2412657Skvn * Use is subject to license terms. 2512657Skvn */ 2612657Skvn 2713017Siveresov#pragma ident "%Z%%M% %I% %E% SMI" 2812657Skvn 2912657Skvn/* 3012657Skvn * ASSERTION: 3112657Skvn * Using -G option with dtrace utility produces an ELF file containing a 3212657Skvn * DTrace program. If the filename used with the -s option does ends 3312657Skvn * with .d, and the -o option is not used, then the output ELF file is 3413017Siveresov * in filename.o 3512657Skvn * 3613017Siveresov * SECTION: dtrace Utility/-G Option 3712657Skvn * 3812657Skvn * NOTES: Use this file as 3912657Skvn * /usr/sbin/dtrace -G -s man.ELFGeneration.d 4012657Skvn * Delete the file man.ELFGeneration.d.o 4112657Skvn * 4212657Skvn */ 4312657Skvn 4412657SkvnBEGIN 4512657Skvn{ 4612657Skvn printf("This test should compile.\n"); 4712657Skvn exit(0); 4812657Skvn} 4912657Skvn