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

use work.pkg.all;

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