From 491e62664394a8689a3f8904fbe8dbc3dea05524 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 30 Aug 2026 02:08:45 +0200 Subject: Fix ICEs with recursive type declarations --- testsuite/fail_compilation/record-base-cycle.elna | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 testsuite/fail_compilation/record-base-cycle.elna (limited to 'testsuite/fail_compilation/record-base-cycle.elna') 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. -- cgit v1.2.3