diff options
Diffstat (limited to 'testsuite/fail_compilation')
| -rw-r--r-- | testsuite/fail_compilation/const_array.elna | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/fail_compilation/const_array.elna b/testsuite/fail_compilation/const_array.elna new file mode 100644 index 0000000..7a1a6f5 --- /dev/null +++ b/testsuite/fail_compilation/const_array.elna @@ -0,0 +1,7 @@ +proc f() +var + a: [10]const Int (* @Error const must be written before the array size, not after *) +begin +return + +end. |
