Mercurial > projects > ldc
view test/enum1.d @ 191:2900754a6989 trunk
[svn r207] Fixed: the runtime support didn't handle string switch.
author | lindquist |
---|---|
date | Mon, 12 May 2008 14:58:55 +0200 |
parents | 0c77619e803b |
children |
line wrap: on
line source
module enum1; void main() { enum { HELLO, WORLD } assert(HELLO == 0); assert(WORLD == 1); }