aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue984/const_pkg.vhd
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-24 06:43:26 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-24 06:43:43 +0200
commit420bcb45b110172ced81830fedcb72cee46c038a (patch)
tree0b7c26f00c2de3266f04a507a2d37e995101c30a /testsuite/gna/issue984/const_pkg.vhd
parent0d427a74341db4b511e472222f9d4ce0f7717a3c (diff)
downloadghdl-420bcb45b110172ced81830fedcb72cee46c038a.tar.gz
ghdl-420bcb45b110172ced81830fedcb72cee46c038a.tar.bz2
ghdl-420bcb45b110172ced81830fedcb72cee46c038a.zip
Add testcase for #984
Diffstat (limited to 'testsuite/gna/issue984/const_pkg.vhd')
-rw-r--r--testsuite/gna/issue984/const_pkg.vhd5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/gna/issue984/const_pkg.vhd b/testsuite/gna/issue984/const_pkg.vhd
new file mode 100644
index 000000000..d93361ba9
--- /dev/null
+++ b/testsuite/gna/issue984/const_pkg.vhd
@@ -0,0 +1,5 @@
+use work.types_pkg.all;
+
+package const_pkg is
+ constant c : generic_type := (others => 5);
+end package;