view run/typeid_85.d @ 566:a82c4eea402e

included string mapping tests for function and delegate
author thomask
date Sat, 04 Jun 2005 18:36:29 +0000
parents 111c6744074d
children 32f7f8ce5e51
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_85;

int main(){
	alias byte delegate(int) del;
	TypeInfo ti = typeid(del);
	assert(ti !== null);
	assert(ti.tsize == del.sizeof);
	assert(ti.toString()=="byte delegate(int)");
	return 0;
}