view run/associative_array_13.d @ 1582:dbaec0ee5d40

[Issue 1850] New: The compiler accepts lower case asm registers. <aziz.kerim@gmail.com> 2007-02-18 http://d.puremagic.com/issues/show_bug.cgi?id=1850
author thomask
date Fri, 22 Feb 2008 07:55:01 +0000
parents ec5e144583ea
children
line wrap: on
line source

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

// @author@	Ben Hinkle <ben.hinkle@gmail.com>
// @date@	2005-03-25
// @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3356

module dstress.run.associative_array_13;

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