Mercurial > projects > ldc
view test/typeinfo11.d @ 316:163cad969791 trunk
[svn r337] Reverted changes to toobj.cpp: Module constructor calls can never be invokes.
author | ChristianK |
---|---|
date | Fri, 04 Jul 2008 08:51:49 +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); }