aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue419/bug3.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-09-28 03:47:16 +0200
committerTristan Gingold <tgingold@free.fr>2017-09-28 03:47:16 +0200
commitbd6d9abad8619e348fdf8fa53c0f62211ab161f6 (patch)
treee7e040408e9c0b886c715a01b8a37f35d6fc4e4b /testsuite/gna/issue419/bug3.vhdl
parentcc71215a2899941042efc668ce33dd38c8ce8d2a (diff)
downloadghdl-bd6d9abad8619e348fdf8fa53c0f62211ab161f6.tar.gz
ghdl-bd6d9abad8619e348fdf8fa53c0f62211ab161f6.tar.bz2
ghdl-bd6d9abad8619e348fdf8fa53c0f62211ab161f6.zip
Reproducer for #419
Diffstat (limited to 'testsuite/gna/issue419/bug3.vhdl')
-rw-r--r--testsuite/gna/issue419/bug3.vhdl27
1 files changed, 27 insertions, 0 deletions
diff --git a/testsuite/gna/issue419/bug3.vhdl b/testsuite/gna/issue419/bug3.vhdl
new file mode 100644
index 000000000..7573be7e0
--- /dev/null
+++ b/testsuite/gna/issue419/bug3.vhdl
@@ -0,0 +1,27 @@
+package pkg is
+ procedure other_proc(value : boolean);
+ procedure other_proc(value : integer);
+
+ procedure proc;
+
+end package;
+
+package body pkg is
+ procedure other_proc(value : boolean) is
+ begin
+ null;
+ end;
+ procedure other_proc(value : integer) is
+ begin
+ null;
+ end;
+
+ procedure proc is
+ begin
+ null;
+ end;
+ procedure proc2 is
+ begin
+ proc(other_proc => 0);
+ end;
+end package body;