Mercurial > projects > ldc
view test/enum1.d @ 111:a7ae554ce4f4 trunk
[svn r115] Implemented the ClassInfo.defaultConstructor member.
author | lindquist |
---|---|
date | Thu, 22 Nov 2007 21:17:54 +0100 |
parents | 0c77619e803b |
children |
line wrap: on
line source
module enum1; void main() { enum { HELLO, WORLD } assert(HELLO == 0); assert(WORLD == 1); }