view test/typeinfo5.d @ 301:f42a1090e895 trunk

[svn r322] More asm-to-outside jumping work. Unfinished.
author ChristianK
date Tue, 24 Jun 2008 22:48:33 +0200
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);
}