view run/typeid_16.d @ 870:38ea1bb385b6

bit -> bool and __DSTRESS_TORTURE_BLOCK__ fixes
author thomask
date Sun, 26 Feb 2006 17:45:46 +0000
parents 111c6744074d
children
line wrap: on
line source

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

module dstress.run.typeid_16;

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