view run/typeid_78.d @ 1597:8b9d4d2f925a

Fix typos in complex tests. See D bug 614.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:53:58 +0200
parents ec6d35cccfb5
children
line wrap: on
line source

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

module dstress.run.typeid_78;

union MyUnion{
	int i;
	byte b;
}

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