view run/o/object_01_A.d @ 951:1a05061a48b9

<thomas-dloop@kuehne.cn> 2006-04-09 news:bug-94-3@http.d.puremagic.com/bugzilla/
author thomask
date Sat, 08 Apr 2006 19:06:31 +0000
parents
children 81222734adf3
line wrap: on
line source

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

// @author@	<thomas-dloop@kuehne.cn>
// @date@	2006-04-09
// @uri@	news:bug-94-3@http.d.puremagic.com/bugzilla/

module dstress.run.o.object_01_A;

class Object{
	int someVar;
}

int main(){
	dstress.run.o.object_01_A.Object o = new dstress.run.o.object_01_A.Object();

	assert(o);

	o.someVar = 2;

	if(o.someVar != 2){
		assert(0);
	}

	return 0;
}