view run/associative_array_13.d @ 397:56431d0f252e

bypas dmd-0.120's problems with real->complex
author thomask
date Wed, 06 Apr 2005 20:54:40 +0000
parents 2e7e260384a4
children b8c0195059d9
line wrap: on
line source

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

// @author@	Ben Hinkle <ben.hinkle@gmail.com>
// @date@	2005-03-25
// @uri@	news:d247b2$mr$1@digitaldaemon.com

module dstress.run.associative_array_13;

int main() {
	int[cdouble] x;
	cdouble d=22.0+0.0i;
	x[d] = 44;
	assert( x[d] == 44 );
	return 0;
}