view nocompile/u/unchecked_01_B.d @ 831:8d1740117404

added C# like code
author thomask
date Wed, 15 Feb 2006 13:53:14 +0000
parents
children
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// Porting: C#

// __DSTRESS_ELINE__ 16

module dstress.nocompile.u.unchecked_01_B;

void test(){
	short a = 0x7FFF;

	short b;
	
	unchecked{
		b = a * a;
	}
}