Mercurial > projects > dstress
view run/typeid_78.d @ 1523:8a8d5cb8775c
fixed X86_64 issue
author | thomask |
---|---|
date | Fri, 27 Apr 2007 17:26:33 +0000 |
parents | ec6d35cccfb5 |
children |
line wrap: on
line source
/* $HeadURL$ * $Date$ * $Author$ */ module dstress.run.typeid_78; union MyUnion{ int i; byte b; } int main(){ TypeInfo ti = typeid(MyUnion); assert(!(ti is null)); assert(ti.tsize==(MyUnion).sizeof); assert(ti.toString()=="dstress.run.typeid_78.MyUnion"); return 0; }