diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-09-07 21:19:42 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-09-07 21:19:42 +0200 |
commit | 930bfe7d5aefbb88e80a92991a372c9e822558b0 (patch) | |
tree | 4c8596beb5bbe866e95d4c119d4035104a49c3ab /testsuite/gna/issue737/ent2.vhdl | |
parent | 4341334801df81f31bcca25ab4840be2f8c95c22 (diff) | |
download | ghdl-930bfe7d5aefbb88e80a92991a372c9e822558b0.tar.gz ghdl-930bfe7d5aefbb88e80a92991a372c9e822558b0.tar.bz2 ghdl-930bfe7d5aefbb88e80a92991a372c9e822558b0.zip |
testsuite/gna: add a test for #737
Diffstat (limited to 'testsuite/gna/issue737/ent2.vhdl')
-rw-r--r-- | testsuite/gna/issue737/ent2.vhdl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/gna/issue737/ent2.vhdl b/testsuite/gna/issue737/ent2.vhdl new file mode 100644 index 000000000..fe4f49145 --- /dev/null +++ b/testsuite/gna/issue737/ent2.vhdl @@ -0,0 +1,14 @@ +entity ent2 is +end entity; + +architecture impl of ent2 is + type bitvv is array(natural range <>) of bit_vector; + signal foo: bitvv(2 downto 0)(0 downto 0); +begin + +foo <= ( + 2 downto 1 => foo(1 downto 0), + 0 => foo(2) +); + +end architecture; |