mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-30 18:41:45 +00:00
fixes #59
This commit is contained in:
9
tests/reject/tenumitems.nim
Normal file
9
tests/reject/tenumitems.nim
Normal file
@@ -0,0 +1,9 @@
|
||||
discard """
|
||||
line: 7
|
||||
errormsg: "a type has no value"
|
||||
"""
|
||||
|
||||
type a = enum b,c,d
|
||||
a.items()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user