diff options
Diffstat (limited to 'testsuite/gna/bug017/loop2.vhdl')
-rw-r--r-- | testsuite/gna/bug017/loop2.vhdl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/gna/bug017/loop2.vhdl b/testsuite/gna/bug017/loop2.vhdl new file mode 100644 index 000000000..47a7da6b1 --- /dev/null +++ b/testsuite/gna/bug017/loop2.vhdl @@ -0,0 +1,20 @@ +entity loop2 is +end; + +architecture behav of loop2 is +begin + process + variable i : natural := 0; + begin + report "hello"; + loop + exit when i = 10; + wait for 1 ns; + report "hello2"; + i := i + 1; + end loop; + report "SUCCESS"; + wait; + end process; + +end behav; |