Mercurial > projects > ldc
view test/typeinfo11.d @ 257:4234b014a4f2 trunk
[svn r275] improved makewebstatistics
author | ChristianK |
---|---|
date | Thu, 12 Jun 2008 18:40:47 +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); }