aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1055/repro.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-08-03 03:51:03 +0200
committerTristan Gingold <tgingold@free.fr>2021-08-03 03:51:03 +0200
commitc3899842144d9408c571751326b449e60d41f94b (patch)
treeee2e4f0aceb34bbe3c722eaff49b56e773ede3a9 /testsuite/gna/issue1055/repro.vhdl
parentdb7e1aa8644ec803d3de1ac6acef8e9beaf50e96 (diff)
downloadghdl-c3899842144d9408c571751326b449e60d41f94b.tar.gz
ghdl-c3899842144d9408c571751326b449e60d41f94b.tar.bz2
ghdl-c3899842144d9408c571751326b449e60d41f94b.zip
testsuite/gna: add testcase for #1055
Diffstat (limited to 'testsuite/gna/issue1055/repro.vhdl')
-rw-r--r--testsuite/gna/issue1055/repro.vhdl11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/gna/issue1055/repro.vhdl b/testsuite/gna/issue1055/repro.vhdl
new file mode 100644
index 000000000..dc270601d
--- /dev/null
+++ b/testsuite/gna/issue1055/repro.vhdl
@@ -0,0 +1,11 @@
+entity repro is
+end;
+
+architecture behav of repro is
+ constant nbv : bit_vector(1 downto 0) := "01";
+
+ type arg_t is array (natural range <>) of bit_vector;
+ constant null_arg_t: arg_t(0 downto 1) := (others=>null_arr_t);
+begin
+end;
+