diff options
Diffstat (limited to 'testsuite/fail_compilation')
| -rw-r--r-- | testsuite/fail_compilation/local_var_extern.elna | 6 |
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. |
