view run/static_16.d @ 1383:52c9e86b6486

@url@ -> @uri@
author thomask
date Sun, 04 Mar 2007 13:07:35 +0000
parents f87ba6507260
children 6e4063f99377
line wrap: on
line source

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

// @author@	tetsuya <tetsuya_member@pathlink.com>
// @date@	2004-10-30
// @uri@	news:cm057b$13nu$1@digitaldaemon.com
// @uri@	nntp://digitalmars.com/digitalmars.D.bugs/2165

module dstress.run.static_16;

class MyClass{
	static {
		int x;
		this() {
			x=2;
		}
	}
}

int main(){
	assert(MyClass.x==0);
	return 0;
}