mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-21 16:31:39 +00:00
Add test
This commit is contained in:
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")
|
||||
Reference in New Issue
Block a user