diff options
Diffstat (limited to 'testsuite/gna/issue1723/repro.vhdl')
-rw-r--r-- | testsuite/gna/issue1723/repro.vhdl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/gna/issue1723/repro.vhdl b/testsuite/gna/issue1723/repro.vhdl new file mode 100644 index 000000000..c64667efb --- /dev/null +++ b/testsuite/gna/issue1723/repro.vhdl @@ -0,0 +1,17 @@ +entity repro is +end; + +architecture behav of repro is + type my_vector is array (natural range <>) of integer; + type my_vector_vector is array (natural range <>) of my_vector; + + constant C_1 : my_vector(1 downto 0) := (others => 1); + constant C_2 : my_vector(2 downto 0) := (others => 2); + + constant C_FOO : my_vector_vector(1 downto 0) := ( + 0 => C_1, + 1 => C_2 + ); +begin +end; + |