aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2131/array_of_string_elements.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue2131/array_of_string_elements.vhdl')
-rw-r--r--testsuite/gna/issue2131/array_of_string_elements.vhdl10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/gna/issue2131/array_of_string_elements.vhdl b/testsuite/gna/issue2131/array_of_string_elements.vhdl
new file mode 100644
index 000000000..128a5f92f
--- /dev/null
+++ b/testsuite/gna/issue2131/array_of_string_elements.vhdl
@@ -0,0 +1,10 @@
+entity array_of_string_elements is
+end entity;
+
+architecture foo of array_of_string_elements is
+ type strings is array (natural range <>) of string;
+ constant strings_constants: strings(0 to 3) :=
+ ("one", "two", "three", "four");
+
+begin
+end architecture;