aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/slice-cycle.elna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/fail_compilation/slice-cycle.elna')
-rw-r--r--testsuite/fail_compilation/slice-cycle.elna2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/fail_compilation/slice-cycle.elna b/testsuite/fail_compilation/slice-cycle.elna
index fe0a3e1..0ee44a9 100644
--- a/testsuite/fail_compilation/slice-cycle.elna
+++ b/testsuite/fail_compilation/slice-cycle.elna
@@ -1,3 +1,5 @@
+module
+
type
A = []A (* @Error Type declaration forms a cycle: A -> A *)