view run/typeid_81.d @ 360:e38919011244

dif. fixes 3
author thomask
date Fri, 25 Mar 2005 05:22:21 +0000
parents 111c6744074d
children
line wrap: on
line source

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

module dstress.run.typeid_81;

enum {
	A,
	B
}

int main(){
	TypeInfo ti = typeid(typeof(A));
	assert(!(ti is null));
	assert(ti.tsize==(typeof(A)).sizeof);
	return 0;
}