aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue310/b.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-03-11 07:05:14 +0100
committerTristan Gingold <tgingold@free.fr>2017-03-11 07:05:43 +0100
commitd3457b9db47199d65b3d038f671c82d660631135 (patch)
tree90a58010ac2a1be58a582af7b644ddcff1edabb6 /testsuite/gna/issue310/b.vhdl
parent59aa09ddc0cfa5b4d5aefb649c2350519e80afaf (diff)
downloadghdl-d3457b9db47199d65b3d038f671c82d660631135.tar.gz
ghdl-d3457b9db47199d65b3d038f671c82d660631135.tar.bz2
ghdl-d3457b9db47199d65b3d038f671c82d660631135.zip
Add testcase for #310
Diffstat (limited to 'testsuite/gna/issue310/b.vhdl')
-rw-r--r--testsuite/gna/issue310/b.vhdl4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/gna/issue310/b.vhdl b/testsuite/gna/issue310/b.vhdl
new file mode 100644
index 000000000..a21cd4676
--- /dev/null
+++ b/testsuite/gna/issue310/b.vhdl
@@ -0,0 +1,4 @@
+package b is
+ generic ( X: natural := 4);
+ type m is array (natural range <>) of bit_vector (X - 1 downto 0);
+end package;