Mercurial > projects > dstress
view run/typeid_45.d @ 342:111c6744074d
typeid(type).tsize == type.sizeof
ahiru <ahiru@1dk.jp>
2005-03-01
news:d015pr$1t80$1@digitaldaemon.com
author | thomask |
---|---|
date | Tue, 22 Mar 2005 08:02:21 +0000 |
parents | c1ca2f37362b |
children |
line wrap: on
line source
/* $HeadURL$ * $Date$ * $Author$ */ module dstress.run.typeid_45; int main(){ TypeInfo ti = typeid(double); assert(!(ti is null)); assert(ti.tsize==(double).sizeof); assert(ti.toString()=="double"); return 0; }