diff options
Diffstat (limited to 'testsuite/gna/bug20312/arr.vhdl')
-rw-r--r-- | testsuite/gna/bug20312/arr.vhdl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/bug20312/arr.vhdl b/testsuite/gna/bug20312/arr.vhdl new file mode 100644 index 0000000..cad470e --- /dev/null +++ b/testsuite/gna/bug20312/arr.vhdl @@ -0,0 +1,15 @@ +entity arr is + generic (width : natural := 4); +end arr; + +architecture behav of arr is + subtype line is bit_vector (1 to width); + type memory is array (0 to 7) of line; +begin + process is + variable l : line; + variable mem : memory; + begin + wait; + end process; +end behav; |