re-enable rodfiles tests; fixes #91

This commit is contained in:
Zahary Karadjov 2012-04-11 01:14:56 +03:00
commit 238202ccbc
7 changed files with 25 additions and 6 deletions

14
tests/run/tenumitems.nim Normal file
View file

@ -0,0 +1,14 @@
discard """
output: "A\nB\nC"
"""
type TAlphabet = enum
A, B, C
iterator items(E: typedesc): E =
for v in low(E)..high(E):
yield v
for c in TAlphabet:
echo($c)