summary refs log tree commit diff stats
path: root/tests/errmsgs/t8610.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2019-01-25 10:28:03 -0800
committerAndreas Rumpf <rumpf_a@web.de>2019-01-25 19:28:03 +0100
commit4d230db5abb630db71001e7f70b8a5bbdf6a3e7e (patch)
tree01a7917e9ea9108e30b9408356b34931bd7f7b16 /tests/errmsgs/t8610.nim
parent268197add8e9fbcbf15d6a042c8095828c29869f (diff)
downloadNim-4d230db5abb630db71001e7f70b8a5bbdf6a3e7e.tar.gz
closes #8610 ; adds test case (#10454)
Diffstat (limited to 'tests/errmsgs/t8610.nim')
-rw-r--r--tests/errmsgs/t8610.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/errmsgs/t8610.nim b/tests/errmsgs/t8610.nim
new file mode 100644
index 000000000..dd1a3ed29
--- /dev/null
+++ b/tests/errmsgs/t8610.nim
@@ -0,0 +1,5 @@
+discard """
+  errmsg: "'typedesc' metatype is not valid here; typed '=' instead of ':'?"
+"""
+## issue #8610
+const Foo = int