view run/typeid_70.d @ 1517:cf7719e0ef1b

updated to DMD-1.013
author thomask
date Fri, 27 Apr 2007 17:21:32 +0000
parents ec6d35cccfb5
children
line wrap: on
line source

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

module dstress.run.typeid_70;

struct MyStruct{
	int dummy;
}

int main(){
	TypeInfo ti = typeid(MyStruct);
	assert(!(ti is null));
	assert(ti.tsize==(MyStruct).sizeof);
	assert(ti.toString()=="dstress.run.typeid_70.MyStruct");
	return 0;
}