view test/typeinfo6.d @ 253:c6f25edd6ef3 trunk

[svn r270] Forgot the test for struct debug info.
author lindquist
date Thu, 12 Jun 2008 17:01:31 +0200
parents 2c3cd3596187
children
line wrap: on
line source

module typeinfo6;

void main()
{
    auto ti = typeid(int[]);
    assert(ti.toString() == "int[]");
    assert(ti.next() is typeid(int));
}