Mercurial > projects > ldc
view tests/mini/enum1.d @ 1256:6af2359b433a
Change needed for mingw
author | Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
---|---|
date | Wed, 22 Apr 2009 14:40:56 -0600 |
parents | 1bb99290e03a |
children |
line wrap: on
line source
module enum1; void main() { enum { HELLO, WORLD } assert(HELLO == 0); assert(WORLD == 1); }