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