aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue546/test-bug.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-11-21 07:46:47 +0100
committerTristan Gingold <tgingold@free.fr>2018-11-21 07:46:47 +0100
commit7bc27541e1b85ab4d55ed751c592d43796ab7fff (patch)
tree2facb5b213e7b35ca159461cd931d7a3ea98186b /testsuite/gna/issue546/test-bug.vhdl
parentd22e878995eedc2efa45bbda640a5e984f03e224 (diff)
downloadghdl-7bc27541e1b85ab4d55ed751c592d43796ab7fff.tar.gz
ghdl-7bc27541e1b85ab4d55ed751c592d43796ab7fff.tar.bz2
ghdl-7bc27541e1b85ab4d55ed751c592d43796ab7fff.zip
Add testcase for #546
Diffstat (limited to 'testsuite/gna/issue546/test-bug.vhdl')
-rw-r--r--testsuite/gna/issue546/test-bug.vhdl8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/gna/issue546/test-bug.vhdl b/testsuite/gna/issue546/test-bug.vhdl
new file mode 100644
index 000000000..cc2ebc666
--- /dev/null
+++ b/testsuite/gna/issue546/test-bug.vhdl
@@ -0,0 +1,8 @@
+entity test_arr is
+end entity;
+
+architecture behavior of test_arr is
+ type T is array(natural range <>) of bit_vector;
+ signal a: T(0 to 1)(0 to 1) := ("00", "11");
+begin
+end architecture;