aboutsummaryrefslogtreecommitdiff
path: root/testsuite/compilable
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-07-17 17:57:40 +0200
committerEugen Wissner <belka@caraus.de>2026-07-17 17:57:40 +0200
commit349e84c693c1444606e877f4d8cdc1a39aa91634 (patch)
treecd382dbac860cf8e78b8725a1c9b6ce9bc1fcd32 /testsuite/compilable
parent4f260c5e98def6bd1b3498d4085de5080cca7641 (diff)
downloadelna-349e84c693c1444606e877f4d8cdc1a39aa91634.tar.gz
Reject const in const nesting
Diffstat (limited to 'testsuite/compilable')
-rw-r--r--testsuite/compilable/const_alias.elna10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/compilable/const_alias.elna b/testsuite/compilable/const_alias.elna
new file mode 100644
index 0000000..9cb9ffb
--- /dev/null
+++ b/testsuite/compilable/const_alias.elna
@@ -0,0 +1,10 @@
+type
+ CI = const Int
+ CCI = const CI
+
+var
+ x: CCI
+ y: const CI
+
+begin
+end.