diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-09-28 03:47:16 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-09-28 03:47:16 +0200 |
commit | bd6d9abad8619e348fdf8fa53c0f62211ab161f6 (patch) | |
tree | e7e040408e9c0b886c715a01b8a37f35d6fc4e4b /testsuite/gna/issue419/bug2.vhdl | |
parent | cc71215a2899941042efc668ce33dd38c8ce8d2a (diff) | |
download | ghdl-bd6d9abad8619e348fdf8fa53c0f62211ab161f6.tar.gz ghdl-bd6d9abad8619e348fdf8fa53c0f62211ab161f6.tar.bz2 ghdl-bd6d9abad8619e348fdf8fa53c0f62211ab161f6.zip |
Reproducer for #419
Diffstat (limited to 'testsuite/gna/issue419/bug2.vhdl')
-rw-r--r-- | testsuite/gna/issue419/bug2.vhdl | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testsuite/gna/issue419/bug2.vhdl b/testsuite/gna/issue419/bug2.vhdl new file mode 100644 index 000000000..ee813c6cc --- /dev/null +++ b/testsuite/gna/issue419/bug2.vhdl @@ -0,0 +1,32 @@ +package pkg is + procedure other_proc(value : boolean); + procedure other_proc(value : integer); + + procedure proc(other_proc : 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(other_proc : integer) is + begin + null; + end; + procedure proc is + begin + null; + end; + procedure proc2 is + begin + proc(other_proc => 0); + end; +end package body; |