diff options
Diffstat (limited to 'testsuite/gna/issue238/call1.vhdl')
-rw-r--r-- | testsuite/gna/issue238/call1.vhdl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/gna/issue238/call1.vhdl b/testsuite/gna/issue238/call1.vhdl new file mode 100644 index 000000000..0f9a42283 --- /dev/null +++ b/testsuite/gna/issue238/call1.vhdl @@ -0,0 +1,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; |