view test/enum2.d @ 95:71b8fecdae38 trunk

[svn r99] Removed the ray demo. it's in test already (and not broken there)
author lindquist
date Mon, 12 Nov 2007 06:43:33 +0100
parents 0c77619e803b
children
line wrap: on
line source

module enum2;

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