view test/enum2.d @ 59:362825278842 trunk

[svn r63] Forgot lphobos/typeinfo2
author lindquist
date Thu, 25 Oct 2007 09:04:00 +0200
parents 0c77619e803b
children
line wrap: on
line source

module enum2;

void main()
{
    enum E {
        A,B
    }
    E e = E.B;
    assert(e == E.B);
}