Mercurial > projects > ldc
view test/typeinfo11.d @ 147:0636f6269dfd trunk
[svn r152] Relates to ticket #34. Always emit class definition if it is a template instance. Linkage still needs to be fixed.
author | ChristianK |
---|---|
date | Thu, 13 Mar 2008 18:37:52 +0100 |
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); }