www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - access violation while calling ti_Aint/ti_Auint -> compare

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

int main(){
	uint[] a;
	uint[] b;
	
	a.length = 1;
	b.length = 1;
	
	a[0] = 0xFFFF_FFFF;
	b[0] = 0x0000_0001;

	assert(a[0]!=b[0]);
	
	TypeInfo ti = typeid(typeof(a));
	
	int i = ti.compare(a,b);
	
	return 0;
}

Thomas
-----BEGIN PGP SIGNATURE-----

iD8DBQFDOlC+3w+/yD4P9tIRAuzlAKCWAeZQ3jR6hnBAxsgGxgZaqiupBQCgmfZ2
qPHGoNSocAfz4YX2vdFBLjc=
=heak
-----END PGP SIGNATURE-----
Sep 28 2005