view test/typeinfo6.d @ 134:0dec7b3727ea trunk

[svn r138] forgot the latest tests
author lindquist
date Mon, 14 Jan 2008 05:32:24 +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));
}