diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/errmsgs/t9908.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/errmsgs/t9908.nim b/tests/errmsgs/t9908.nim new file mode 100644 index 000000000..ca135ed50 --- /dev/null +++ b/tests/errmsgs/t9908.nim @@ -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") |