diff options
Diffstat (limited to 'testsuite/gna/bug017/call2.vhdl')
-rw-r--r-- | testsuite/gna/bug017/call2.vhdl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/gna/bug017/call2.vhdl b/testsuite/gna/bug017/call2.vhdl new file mode 100644 index 0000000..82467b4 --- /dev/null +++ b/testsuite/gna/bug017/call2.vhdl @@ -0,0 +1,20 @@ +entity call2 is +end; + +architecture behav of call2 is + procedure p (n : natural) is + begin + for i in 1 to n loop + report "hello"; + wait for 1 ns; + end loop; + end p; +begin + process + begin + p (5); + report "SUCCESS"; + wait; + end process; + +end behav; |