aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue459/repro1.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue459/repro1.vhdl')
-rw-r--r--testsuite/gna/issue459/repro1.vhdl13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/gna/issue459/repro1.vhdl b/testsuite/gna/issue459/repro1.vhdl
new file mode 100644
index 000000000..1d0fbe954
--- /dev/null
+++ b/testsuite/gna/issue459/repro1.vhdl
@@ -0,0 +1,13 @@
+entity repro1 is
+end entity;
+
+architecture A of repro1 is
+ -- array with unconstrained array element type
+ type A is array(natural range <>) of bit_vector;
+
+ -- partially constrained array -> constrained outer array (vector)
+ subtype P2 is A(15 downto 0)(open);
+
+ signal S2 : P2(open)(7 downto 0); -- fully constrained.
+begin
+end architecture;