summary refs log tree commit diff stats
path: root/tests/errmsgs/t18983.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errmsgs/t18983.nim')
-rw-r--r--tests/errmsgs/t18983.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/errmsgs/t18983.nim b/tests/errmsgs/t18983.nim
new file mode 100644
index 000000000..3451875cb
--- /dev/null
+++ b/tests/errmsgs/t18983.nim
@@ -0,0 +1,7 @@
+discard """
+  errormsg: "illegal recursion in type 'A'"
+"""
+
+type
+  A* = A
+  B = (A,)