summaryrefslogtreecommitdiff
path: root/testsuite/gna/bug017/wait3.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug017/wait3.vhdl')
-rw-r--r--testsuite/gna/bug017/wait3.vhdl18
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/gna/bug017/wait3.vhdl b/testsuite/gna/bug017/wait3.vhdl
new file mode 100644
index 0000000..77599ba
--- /dev/null
+++ b/testsuite/gna/bug017/wait3.vhdl
@@ -0,0 +1,18 @@
+entity wait3 is
+end;
+
+architecture behav of wait3 is
+ signal t : natural;
+begin
+ process
+ begin
+ report "hello";
+ wait on t;
+ report "hello2";
+ wait for 0 ns;
+ report "SUCCESS";
+ wait;
+ end process;
+
+ t <= 1 after 2 ns, 2 after 4 ns;
+end behav;