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