aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2116/pkg1.vhdl
blob: e76ccf6df2364a0e290a4726f3871a1f29d2cb3c (plain)
1
2
3
4
5
6
7
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;end gen0;package gen2 is
generic(package pkg is new work.gen0 generic map(<>));function get2 return natural;end;package body gen2 is use pkg.all;function get2 return natural is begin return get;end;end;package p is new work.gen0;package g is new work.gen2 generic map(0);architecture behav of b is
begin
end behav;