err.D_SYNTAX.pid.d revision 178476
1115720Smarkm#!/usr/sbin/dtrace -qs 2115720Smarkm 3115720Smarkm/* 4115720Smarkm * CDDL HEADER START 5115720Smarkm * 6115720Smarkm * The contents of this file are subject to the terms of the 7115720Smarkm * Common Development and Distribution License (the "License"). 8115720Smarkm * You may not use this file except in compliance with the License. 9115720Smarkm * 10115720Smarkm * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 11115720Smarkm * or http://www.opensolaris.org/os/licensing. 12115720Smarkm * See the License for the specific language governing permissions 13115720Smarkm * and limitations under the License. 14115720Smarkm * 15115720Smarkm * When distributing Covered Code, include this CDDL HEADER in each 16115720Smarkm * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 17115720Smarkm * If applicable, add the following below this CDDL HEADER, with the 18115720Smarkm * fields enclosed by brackets "[]" replaced with your own identifying 19115720Smarkm * information: Portions Copyright [yyyy] [name of copyright owner] 20115720Smarkm * 21115720Smarkm * CDDL HEADER END 22115720Smarkm */ 23115720Smarkm 24115720Smarkm/* 25115720Smarkm * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 26115720Smarkm * Use is subject to license terms. 27115720Smarkm */ 28115720Smarkm 29115720Smarkm#pragma ident "%Z%%M% %I% %E% SMI" 30115720Smarkm 31115720Smarkm/* 32115720Smarkm * ASSERTION: 33115720Smarkm * Attempt to concat and assign a macro to a variable 34115720Smarkm * 35115720Smarkm * SECTION: Scripting 36115720Smarkm * 37115720Smarkm */ 38115720Smarkm 39115720SmarkmBEGIN 40115720Smarkm{ 41115720Smarkm i = 123$pid; 42115720Smarkm exit(0); 43115720Smarkm} 44115720Smarkm