aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1246/tb.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue1246/tb.vhdl')
-rw-r--r--testsuite/gna/issue1246/tb.vhdl24
1 files changed, 24 insertions, 0 deletions
diff --git a/testsuite/gna/issue1246/tb.vhdl b/testsuite/gna/issue1246/tb.vhdl
new file mode 100644
index 000000000..fee70d79a
--- /dev/null
+++ b/testsuite/gna/issue1246/tb.vhdl
@@ -0,0 +1,24 @@
+--------------------------------------
+-- use work.pkg_A.all;
+--------------------------------------
+
+entity tb is
+end tb;
+
+architecture arch of tb is
+ --------------------------------------
+ package pkgA is new work.pkg_A
+ generic map (
+ A => 0
+ );
+ --------------------------------------
+begin
+ process
+ --------------------------------------
+ use pkgA.all;
+ --------------------------------------
+ begin
+ showA;
+ wait;
+ end process;
+end architecture;