Mercurial > projects > ldc
view test/typeinfo11.d @ 238:346cba22f4b8 trunk
[svn r255] added dstress results for [254]
author | ChristianK |
---|---|
date | Sun, 08 Jun 2008 21:23:09 +0200 |
parents | 182b41f56b7f |
children |
line wrap: on
line source
module typeinfo11; void main() { int[4] a; TypeInfo ti; ti = typeid(typeof(a)); assert(ti.next() is typeid(int)); assert(ti.tsize() == 16); }