aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1249/repro1.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue1249/repro1.vhdl')
-rw-r--r--testsuite/gna/issue1249/repro1.vhdl12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/gna/issue1249/repro1.vhdl b/testsuite/gna/issue1249/repro1.vhdl
new file mode 100644
index 000000000..35b2583bf
--- /dev/null
+++ b/testsuite/gna/issue1249/repro1.vhdl
@@ -0,0 +1,12 @@
+entity repro1 is
+ generic (WIDTH : natural := 4);
+end;
+
+architecture behav of repro1 is
+ type myarr is array(natural range <>) of bit_vector(WIDTH-1 downto 0);
+
+ type myrec is record
+ a: bit_vector(WIDTH-1 downto 0);
+ end record;
+begin
+end;