aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-09-19 22:08:45 +0200
committerEugen Wissner <belka@caraus.de>2026-09-19 22:08:45 +0200
commitb3cf1d087283bd85e0d9906dfdc320bd9eb4021a (patch)
tree60bfca5a8122dad2e60cfecd91ed05744de7d905 /testsuite
parentea8d4c933fc0a449920f453d0ddff1ba9e8a99a6 (diff)
downloadelna-b3cf1d087283bd85e0d9906dfdc320bd9eb4021a.tar.gz
Fix realiasing builtin types during codegen
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/compilable/aliased_type_constant.elna12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/compilable/aliased_type_constant.elna b/testsuite/compilable/aliased_type_constant.elna
new file mode 100644
index 0000000..16a52c2
--- /dev/null
+++ b/testsuite/compilable/aliased_type_constant.elna
@@ -0,0 +1,12 @@
+type
+ Handle = Int
+
+var
+ limit: const Int := 1
+
+proc check()
+begin
+ assert(limit = 1)
+return
+
+end.