This commit is contained in:
Neelesh Chandola
2018-12-09 10:33:20 +05:30
parent b0f860d90f
commit 93503c18aa

10
tests/errmsgs/t9908.nim Normal file
View File

@@ -0,0 +1,10 @@
discard """
errormsg: "Error: ordinal type expected"
line: 10
"""
# https://github.com/nim-lang/Nim/issues/9908
type
X = enum
a = ("a", "b")