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