usr/src/cmd/dtrace/test/tst/common/pointers/tst.assigncast2.d
author Adam H. Leventhal <ahl@delphix.com>
Wed, 25 Jul 2012 19:05:31 -0400
changeset 13758 23432da34147
permissions -rw-r--r--
3021 option for time-ordered output from dtrace(1M) 3022 DTrace: keys should not affect the sort order when sorting by value 3023 it should be possible to dereference dynamic variables 3024 D integer narrowing needs some work 3025 register leak in D code generation 3026 libdtrace should set LD_NOLAZYLOAD=1 to help the pid provider Reviewed by: Bryan Cantrill <[email protected]> Reviewed by: Eric Schrock <[email protected]> Reviewed by: Matt Ahrens <[email protected]> Approved by: Garrett D'Amore <[email protected]>

/*
 * CDDL HEADER START
 *
 * This file and its contents are supplied under the terms of the
 * Common Development and Distribution License ("CDDL"), version 1.0.
 * You may only use this file in accordance with the terms of version
 * 1.0 of the CDDL.
 *
 * A full copy of the text of the CDDL should have accompanied this
 * source.  A copy of the CDDL is also available via the Internet at
 * http://www.illumos.org/license/CDDL.
 *
 * CDDL HEADER END
 */

/*
 * Copyright (c) 2012 by Delphix. All rights reserved.
 */

BEGIN
{
	this->a = alloca(4);
	*((int *)this->a) = 1;
}

BEGIN
{
	exit(0);
}