aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug017/wait2.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug017/wait2.vhdl')
-rw-r--r--testsuite/gna/bug017/wait2.vhdl16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/bug017/wait2.vhdl b/testsuite/gna/bug017/wait2.vhdl
new file mode 100644
index 000000000..c3fcd7ff5
--- /dev/null
+++ b/testsuite/gna/bug017/wait2.vhdl
@@ -0,0 +1,16 @@
+entity wait2 is
+end;
+
+architecture behav of wait2 is
+ signal t : natural;
+begin
+ process
+ begin
+ report "hello";
+ wait until t = 2;
+ report "SUCCESS";
+ wait;
+ end process;
+
+ t <= 1 after 2 ns, 2 after 4 ns;
+end behav;