tst.enum.d revision 249187
1249187Smm/* 2249187Smm * This file and its contents are supplied under the terms of the 3249187Smm * Common Development and Distribution License ("CDDL"), version 1.0. 4249187Smm * You may only use this file in accordance with the terms of version 5249187Smm * 1.0 of the CDDL. 6249187Smm * 7249187Smm * A full copy of the text of the CDDL should have accompanied this 8249187Smm * source. A copy of the CDDL is also available via the Internet at 9249187Smm * http://www.illumos.org/license/CDDL. 10249187Smm */ 11249187Smm/* 12249187Smm * Copyright (c) 2013, Joyent, Inc. All rights reserved. 13249187Smm */ 14249187Smm 15249187Smm#pragma D option quiet 16249187Smm 17249187Smmenum simpson { 18249187Smm homer, 19249187Smm marge, 20249187Smm bart, 21249187Smm lisa, 22249187Smm maggie, 23249187Smm snowball_ii, 24249187Smm santas_little_helper 25249187Smm}; 26249187Smm 27249187SmmBEGIN 28249187Smm{ 29249187Smm print(bart); 30249187Smm print((enum simpson)4); 31249187Smm print(snowball_ii); 32249187Smm exit(0); 33249187Smm} 34