Mercurial > projects > ldc
view test/enum1.d @ 162:1856c62af24b trunk
[svn r178] Fixed codegen values for function arguments, the old approach was completely broken, amazing it even worked...
author | lindquist |
---|---|
date | Mon, 05 May 2008 00:56:53 +0200 |
parents | 0c77619e803b |
children |
line wrap: on
line source
module enum1; void main() { enum { HELLO, WORLD } assert(HELLO == 0); assert(WORLD == 1); }