view test/enum1.d @ 56:3a784f7790d6 trunk

[svn r60] fixed vararg1 test
author lindquist
date Wed, 24 Oct 2007 22:26:37 +0200
parents 0c77619e803b
children
line wrap: on
line source

module enum1;

void main()
{
    enum {
        HELLO,
        WORLD
    }

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