aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/fail_compilation/local_var_extern.elna6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/fail_compilation/local_var_extern.elna b/testsuite/fail_compilation/local_var_extern.elna
new file mode 100644
index 0000000..d0eb22f
--- /dev/null
+++ b/testsuite/fail_compilation/local_var_extern.elna
@@ -0,0 +1,6 @@
+proc test_local_extern()
+var
+ v : Int := extern (* @Error Local symbols cannot be extern *)
+return
+
+end.