aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2116/pkg6.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue2116/pkg6.vhdl')
-rw-r--r--testsuite/gna/issue2116/pkg6.vhdl9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/gna/issue2116/pkg6.vhdl b/testsuite/gna/issue2116/pkg6.vhdl
new file mode 100644
index 000000000..68470c634
--- /dev/null
+++ b/testsuite/gna/issue2116/pkg6.vhdl
@@ -0,0 +1,9 @@
+package gen0 is
+generic(v:natural:=0);function get return natural;end;package body gen0 is
+function get return natural is begin return 0;end;end gen0;package gen0 is
+generic(package g is new k'g generic map(0));function g return n;end gen0;package body n is
+use g;function g return n is
+begin
+end;end;package p is new w;package g is new o generic map(0);entity tb is
+end tb;architecture behav of b is
+begin end behav; \ No newline at end of file