diff options
Diffstat (limited to 'testsuite/gna/bug014/bug.vhdl')
-rw-r--r-- | testsuite/gna/bug014/bug.vhdl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/bug014/bug.vhdl b/testsuite/gna/bug014/bug.vhdl new file mode 100644 index 000000000..bb0c4a1bf --- /dev/null +++ b/testsuite/gna/bug014/bug.vhdl @@ -0,0 +1,15 @@ +package pkg is + function f (a : integer) return integer; +end pkg; + +package body pkg is + function f (a : integer) return integer is + begin + return 1; + end f; + + function f (a : integer) return integer is + begin + return 1; + end f; +end pkg; |