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