view run/typeid_84.d @ 1330:f3f715978184

Georg Wrede <georg@iki.fi> 2007-01-07 mail:45A120F5.1050108@iki.fi
author thomask
date Sat, 13 Jan 2007 10:33:49 +0000
parents 32f7f8ce5e51
children b8c0195059d9
line wrap: on
line source

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

// @author@	ahiru <ahiru@1dk.jp>
// @date@	2005-03-01
// @uri@	news:d015pr$1t80$1@digitaldaemon.com

module dstress.run.typeid_84;

int main(){
	alias byte function(int) func;
	TypeInfo ti = typeid(func);
	assert(!(ti is null));
	assert(ti.tsize == func.sizeof);
	assert(ti.toString() == "byte(int)*");
	return 0;
}