view test/typeinfo6.d @ 146:ddfdae91281a trunk

[svn r151] fixed #29: out contracts work now
author ChristianK
date Mon, 10 Mar 2008 19:29:39 +0100
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));
}