Mercurial > projects > ldc
view test/typeinfo5.d @ 110:e8da7856a260 trunk
[svn r114] Implemented the ClassInfo.offTi member.
author | lindquist |
---|---|
date | Thu, 22 Nov 2007 21:01:01 +0100 |
parents | 53d3086b5ad3 |
children |
line wrap: on
line source
module typeinfo5; void main() { enum E : uint { A,B,C } auto ti = typeid(E); assert(ti.next() is typeid(uint)); assert(ti.init is null); }