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