view run/init_04.d @ 433:b310cc8b0391

check that init doesn't change the value of the queried var
author thomask
date Fri, 15 Apr 2005 09:01:17 +0000
parents
children 9e0847cf535a
line wrap: on
line source

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

module dstress.run.init_04;

int main(){
	int i=2;
	assert(int.init==i.init);
	assert(i==2);
	return 0;
}