view run/class_02.d @ 1626:e160bfec54d5

add test
author Moritz Warning <moritzwarning@web.de>
date Thu, 06 Jan 2011 15:52:55 +0100
parents 0e1a3785ec97
children
line wrap: on
line source

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

module dstress.run.class_02;

class MyClass{
	int check;
}

int main(){
	MyClass c = new MyClass();
	c.check++;
	assert( c.check == 1 );
	return 0;
}