diff options
author | Neelesh Chandola <neelesh.chandola@outlook.com> | 2018-12-09 10:33:20 +0530 |
---|---|---|
committer | Neelesh Chandola <neelesh.chandola@outlook.com> | 2018-12-09 10:33:20 +0530 |
commit | 93503c18aa8d649a9a128d80d40430d7f9e6aa21 (patch) | |
tree | 4ea6b6e7b81c07d90dff9aa03baea472495260ab /tests | |
parent | b0f860d90fefc89219c1e2bc9f8815cde07a7b7c (diff) | |
download | Nim-93503c18aa8d649a9a128d80d40430d7f9e6aa21.tar.gz |
Add test
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") |