aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/record-base-cycle.elna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/fail_compilation/record-base-cycle.elna')
-rw-r--r--testsuite/fail_compilation/record-base-cycle.elna4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/fail_compilation/record-base-cycle.elna b/testsuite/fail_compilation/record-base-cycle.elna
new file mode 100644
index 0000000..f3bcb20
--- /dev/null
+++ b/testsuite/fail_compilation/record-base-cycle.elna
@@ -0,0 +1,4 @@
+type
+ R = record(R) (* @Error Type declaration forms a cycle: R -> R *)
+ end
+end.