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/alias-cycle-behind-const.elna | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 testsuite/fail_compilation/alias-cycle-behind-const.elna (limited to 'testsuite/fail_compilation/alias-cycle-behind-const.elna') diff --git a/testsuite/fail_compilation/alias-cycle-behind-const.elna b/testsuite/fail_compilation/alias-cycle-behind-const.elna new file mode 100644 index 0000000..0c3b626 --- /dev/null +++ b/testsuite/fail_compilation/alias-cycle-behind-const.elna @@ -0,0 +1,4 @@ +type + A = B + B = const A (* @Error Type declaration forms a cycle: A -> B -> A *) +end. -- cgit v1.2.3