summary refs log tree commit diff stats
path: root/tests/errmsgs/t8610.nim
diff options
context:
space:
mode:
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