From b3cf1d087283bd85e0d9906dfdc320bd9eb4021a Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sat, 19 Sep 2026 22:08:45 +0200 Subject: Fix realiasing builtin types during codegen --- testsuite/compilable/aliased_type_constant.elna | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 testsuite/compilable/aliased_type_constant.elna (limited to 'testsuite') 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. -- cgit v1.2.3