aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/local_const_exported.elna
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-07-14 19:42:32 +0200
committerEugen Wissner <belka@caraus.de>2026-07-14 19:42:32 +0200
commit308a2addf655fe45f2098f8542f0ff1290612cd9 (patch)
tree19230bdb673d306d59b32427ad2a3ad5e9850631 /testsuite/fail_compilation/local_const_exported.elna
parenta32a61813ebaecf0c1e69fd1481bf09d8c8b1420 (diff)
downloadelna-308a2addf655fe45f2098f8542f0ff1290612cd9.tar.gz
Replace procedure end with return
Diffstat (limited to 'testsuite/fail_compilation/local_const_exported.elna')
-rw-r--r--testsuite/fail_compilation/local_const_exported.elna4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/fail_compilation/local_const_exported.elna b/testsuite/fail_compilation/local_const_exported.elna
index c914af5..1c6c728 100644
--- a/testsuite/fail_compilation/local_const_exported.elna
+++ b/testsuite/fail_compilation/local_const_exported.elna
@@ -1,6 +1,6 @@
proc test_local_export()
const
c* := 42 (* @Error Local symbol 'c' cannot be exported *)
-begin
-end
+return
+
end.