view nocompile/associative_array_05.d @ 1580:df193e7c4e41

[Issue 1746] New: Enums with member initializers generate undefined symbols <pseus7@gmail.com> 2007-12-22 http://d.puremagic.com/issues/show_bug.cgi?id=1746
author thomask
date Fri, 22 Feb 2008 07:54:21 +0000
parents 52c9e86b6486
children
line wrap: on
line source

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

// @author@	Anders F Bj�klund <afb@algonet.se>
// @date@	2004-12-19
// @uri@	news://cq2h5u$2n99$1@digitaldaemon.com
// @uri@	nntp://digitalmars.com/digitalmars.D/13868

// __DSTRESS_ELINE__ 19

module dstress.nocompile.associative_array_05;

int main(){
	int[char[]] array;
	assert(array.length==0);
	array["eins"]=1;
	assert(array.length==1);
	array["zwei"];
	assert(array.length==1);
	return 0;
}