summary refs log tree commit diff stats
path: root/tests/run/tenumitems.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/tenumitems.nim')
-rw-r--r--tests/run/tenumitems.nim14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/run/tenumitems.nim b/tests/run/tenumitems.nim
deleted file mode 100644
index f4f04e2c0..000000000
--- a/tests/run/tenumitems.nim
+++ /dev/null
@@ -1,14 +0,0 @@
-discard """
-  output: "A\nB\nC"
-"""
-
-type TAlphabet = enum
-  A, B, C
-
-iterator items(E: typedesc{enum}): E =
-  for v in low(E)..high(E):
-    yield v
-
-for c in TAlphabet:
-  echo($c)
-