view test/enum1.d @ 230:79d8f6b3fbaf trunk

[svn r246] fixed asm4 test
author lindquist
date Sat, 07 Jun 2008 21:38:14 +0200
parents 0c77619e803b
children
line wrap: on
line source

module enum1;

void main()
{
    enum {
        HELLO,
        WORLD
    }

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