Mercurial > projects > ldc
view test/typeinfo11.d @ 289:17d3b3236334 trunk
[svn r310] Fixed a problem with incomplete types and templates in typeinfo code.
author | lindquist |
---|---|
date | Sat, 21 Jun 2008 16:22:29 +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); }