From e676e74efbbbf62887b9442326399eebccc4d108 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 17 Jul 2026 16:16:23 +0200 Subject: Handle base type constness --- testsuite/compilable/record_const_base.elna | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 testsuite/compilable/record_const_base.elna (limited to 'testsuite/compilable/record_const_base.elna') diff --git a/testsuite/compilable/record_const_base.elna b/testsuite/compilable/record_const_base.elna new file mode 100644 index 0000000..f24d27b --- /dev/null +++ b/testsuite/compilable/record_const_base.elna @@ -0,0 +1,18 @@ +type + B = record + x: Int + end + CB = const B + D = record(CB) + y: Int + end + +proc f() +var + d: D +begin + d.x := 1; + d.y := 2 +return + +end. -- cgit v1.2.3