aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug017/call1.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug017/call1.vhdl')
-rw-r--r--testsuite/gna/bug017/call1.vhdl20
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/gna/bug017/call1.vhdl b/testsuite/gna/bug017/call1.vhdl
new file mode 100644
index 000000000..ba6881486
--- /dev/null
+++ b/testsuite/gna/bug017/call1.vhdl
@@ -0,0 +1,20 @@
+entity call1 is
+end;
+
+architecture behav of call1 is
+ procedure p is
+ begin
+ for i in 1 to 10 loop
+ report "hello";
+ wait for 1 ns;
+ end loop;
+ end p;
+begin
+ process
+ begin
+ p;
+ report "SUCCESS";
+ wait;
+ end process;
+
+end behav;