aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug017/loop1.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug017/loop1.vhdl')
-rw-r--r--testsuite/gna/bug017/loop1.vhdl19
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/gna/bug017/loop1.vhdl b/testsuite/gna/bug017/loop1.vhdl
new file mode 100644
index 000000000..137628d37
--- /dev/null
+++ b/testsuite/gna/bug017/loop1.vhdl
@@ -0,0 +1,19 @@
+entity loop1 is
+end;
+
+architecture behav of loop1 is
+begin
+ process
+ variable i : natural := 0;
+ begin
+ report "hello";
+ while i < 10 loop
+ wait for 1 ns;
+ report "hello2";
+ i := i + 1;
+ end loop;
+ report "SUCCESS";
+ wait;
+ end process;
+
+end behav;