Add test
This commit is contained in:
parent
b0f860d90f
commit
93503c18aa
1 changed files with 10 additions and 0 deletions
10
tests/errmsgs/t9908.nim
Normal file
10
tests/errmsgs/t9908.nim
Normal 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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue