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.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/tenumitems.nim b/tests/run/tenumitems.nim
index f4f04e2c0..db4c6b554 100644
--- a/tests/run/tenumitems.nim
+++ b/tests/run/tenumitems.nim
@@ -5,7 +5,7 @@ discard """
 type TAlphabet = enum
   A, B, C
 
-iterator items(E: typedesc{enum}): E =
+iterator items(E: typedesc[enum]): E =
   for v in low(E)..high(E):
     yield v