view nocompile/l/lock_01_A.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__ 15

module dstress.nocompile.l.lock_01_A;

class C{
	int i;
	
	void test(){
		lock(this) i++;
	}
}