view test/enum1.d @ 177:cea8dcfa76df trunk

[svn r193] Fixed: abstract classes implementing interfaces now output proper Interface info arrays. (null vtables). Did a little renaming of delegate utils.
author lindquist
date Wed, 07 May 2008 04:45:51 +0200
parents 0c77619e803b
children
line wrap: on
line source

module enum1;

void main()
{
    enum {
        HELLO,
        WORLD
    }

    assert(HELLO == 0);
    assert(WORLD == 1);
}