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

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