summary refs log tree commit diff stats
path: root/tests/errmsgs/t5282.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errmsgs/t5282.nim')
-rw-r--r--tests/errmsgs/t5282.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/errmsgs/t5282.nim b/tests/errmsgs/t5282.nim
new file mode 100644
index 000000000..4da49d155
--- /dev/null
+++ b/tests/errmsgs/t5282.nim
@@ -0,0 +1,5 @@
+discard """
+  errormsg: "illegal recursion in type 'x'"
+"""
+
+type x = distinct x