aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1473/test.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue1473/test.vhdl')
-rw-r--r--testsuite/gna/issue1473/test.vhdl17
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/gna/issue1473/test.vhdl b/testsuite/gna/issue1473/test.vhdl
new file mode 100644
index 000000000..975489cb4
--- /dev/null
+++ b/testsuite/gna/issue1473/test.vhdl
@@ -0,0 +1,17 @@
+library ieee;
+
+entity test is
+end test;
+
+architecture test of test is
+
+ type values_t is array (0 to VALUES - 1) of boolean;
+ signal values: values_t;
+
+ type elem_t is (a, b, c);
+ type arr_t is array (0 to VALUES - 1) of elem_t;
+ signal arr: arr_t;
+
+begin
+ arr <= (others => a);
+end test;