diff options
Diffstat (limited to 'testsuite/fail_compilation/alias-cycle-behind-const.elna')
| -rw-r--r-- | testsuite/fail_compilation/alias-cycle-behind-const.elna | 4 |
1 files changed, 4 insertions, 0 deletions
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. |
