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