From 49e6a0518eb6b7b09938b562ef270028337508bf Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Mon, 14 Sep 2026 16:35:20 +0200 Subject: Reject local extern variables --- testsuite/fail_compilation/local_var_extern.elna | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 testsuite/fail_compilation/local_var_extern.elna (limited to 'testsuite/fail_compilation') 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. -- cgit v1.2.3