view test/enum2.d @ 247:56199753e637 trunk

[svn r264] Fixed debug info for global variables.
author lindquist
date Mon, 09 Jun 2008 17:49:30 +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);
}