Mercurial > projects > ldc
view test/typeinfo11.d @ 122:36ab367572df trunk
[svn r126] String switch is now implemented.
A few other fixes.
author | lindquist |
---|---|
date | Tue, 27 Nov 2007 09:19:07 +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); }