Mercurial > projects > dstress
view run/typeid_62.d @ 1607:1bbcc6407d4b
Update module statement for renamed tests.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 13 Apr 2009 13:48:46 +0200 |
parents | 0db095345640 |
children |
line wrap: on
line source
/* $HeadURL$ * $Date$ * $Author$ */ module dstress.run.typeid_62; int main(){ TypeInfo ti = typeid(char[]); assert(!(ti is null)); assert(ti); assert(ti.tsize==(char[]).sizeof); assert(ti.toString()=="char[]"); TypeInfo_Array ta = cast(TypeInfo_Array) ti; assert(!(ta is null)); assert(ta); assert(ta.tsize==(char[]).sizeof); assert(ta.toString()=="char[]"); return 0; }