summary refs log tree commit diff stats
path: root/tests/errmsgs/t23419.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errmsgs/t23419.nim')
-rw-r--r--tests/errmsgs/t23419.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/errmsgs/t23419.nim b/tests/errmsgs/t23419.nim
new file mode 100644
index 000000000..59a72f081
--- /dev/null
+++ b/tests/errmsgs/t23419.nim
@@ -0,0 +1,5 @@
+discard """
+  errormsg: "invalid type: 'void' in this context: '(array[0..-1, void],)' for var"
+"""
+
+var a: (array[0, void], )