diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-09-24 00:39:51 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-09-24 00:39:51 +0200 |
| commit | f7b035a505e86ad916a43ab1dc1a662a6066b011 (patch) | |
| tree | a54369ae8ad56352d148c4583ab568f7d4869d30 /testsuite/fail_compilation/non_constant_array_dimension.elna | |
| parent | 74e75e41fe12f19e5365a3152ffafa1a29376240 (diff) | |
| download | elna-f7b035a505e86ad916a43ab1dc1a662a6066b011.tar.gz | |
Move module heading to the top
Diffstat (limited to 'testsuite/fail_compilation/non_constant_array_dimension.elna')
| -rw-r--r-- | testsuite/fail_compilation/non_constant_array_dimension.elna | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/testsuite/fail_compilation/non_constant_array_dimension.elna b/testsuite/fail_compilation/non_constant_array_dimension.elna index 8efb9e9..3c69b7e 100644 --- a/testsuite/fail_compilation/non_constant_array_dimension.elna +++ b/testsuite/fail_compilation/non_constant_array_dimension.elna @@ -1,12 +1,10 @@ +program() + proc f(len: Int) var array: [len]Int (* @Error Array dimensions for type 'Int' should be constant *) -begin - return +return -program() begin f(5) -return 0u8 - end. |
