aboutsummaryrefslogtreecommitdiff
path: root/testsuite/compilable/const_element_array.elna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/compilable/const_element_array.elna')
-rw-r--r--testsuite/compilable/const_element_array.elna9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/compilable/const_element_array.elna b/testsuite/compilable/const_element_array.elna
new file mode 100644
index 0000000..a812d23
--- /dev/null
+++ b/testsuite/compilable/const_element_array.elna
@@ -0,0 +1,9 @@
+type
+ CI = const Int
+
+var
+ a: [3]CI := [1, 2, 3]
+ b: [3]CI
+
+begin
+end.