From 349e84c693c1444606e877f4d8cdc1a39aa91634 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 17 Jul 2026 17:57:40 +0200 Subject: Reject const in const nesting --- testsuite/fail_compilation/double_const.elna | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 testsuite/fail_compilation/double_const.elna (limited to 'testsuite/fail_compilation/double_const.elna') diff --git a/testsuite/fail_compilation/double_const.elna b/testsuite/fail_compilation/double_const.elna new file mode 100644 index 0000000..204a7f7 --- /dev/null +++ b/testsuite/fail_compilation/double_const.elna @@ -0,0 +1,7 @@ +proc f() +var + x: const const Int (* @Error Duplicate 'const' qualifier is not allowed *) +begin +return + +end. -- cgit v1.2.3