diff options
Diffstat (limited to 'testsuite/gna/ticket41/bug.vhdl')
-rw-r--r-- | testsuite/gna/ticket41/bug.vhdl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/ticket41/bug.vhdl b/testsuite/gna/ticket41/bug.vhdl new file mode 100644 index 0000000..8c4e4a9 --- /dev/null +++ b/testsuite/gna/ticket41/bug.vhdl @@ -0,0 +1,16 @@ +package pkg is + procedure proc; + alias prog_alias is proc[]; +end package; + +package body pkg is + procedure proc is + begin + end; + + impure function prog_alias return integer is + begin + prog_alias; + return 0; + end; +end package body; |