Mercurial > projects > dstress
view run/typeid_62.d @ 1517:cf7719e0ef1b
updated to DMD-1.013
author | thomask |
---|---|
date | Fri, 27 Apr 2007 17:21:32 +0000 |
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; }