aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/local_const_exported.elna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/fail_compilation/local_const_exported.elna')
-rw-r--r--testsuite/fail_compilation/local_const_exported.elna6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/fail_compilation/local_const_exported.elna b/testsuite/fail_compilation/local_const_exported.elna
new file mode 100644
index 0000000..c914af5
--- /dev/null
+++ b/testsuite/fail_compilation/local_const_exported.elna
@@ -0,0 +1,6 @@
+proc test_local_export()
+const
+ c* := 42 (* @Error Local symbol 'c' cannot be exported *)
+begin
+end
+end.