aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue238/call2.vhdl
blob: d5bad46cb217e6751bb02261df684e38dc7224a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
entity call2 is
end;

use work.pkg.all;

architecture behav of call2 is
  function func return rec is
    variable res : rec_4;
  begin
    return res;
  end func;
begin
  process
   constant v : rec := func;
  begin
   wait;
  end process;
end behav;