aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug014/bug.vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2015-08-29 08:01:46 +0200
committerTristan Gingold <tgingold@free.fr>2015-08-29 08:01:46 +0200
commitb461845ffeb94e902d84c058238fcfcd4074f1a6 (patch)
tree5a2bcc7733b32a649cfe8661f872f50051179657 /testsuite/gna/bug014/bug.vhdl
parentb75d703676ab830ea3e5731e1965d1d89879a456 (diff)
downloadghdl-b461845ffeb94e902d84c058238fcfcd4074f1a6.tar.gz
ghdl-b461845ffeb94e902d84c058238fcfcd4074f1a6.tar.bz2
ghdl-b461845ffeb94e902d84c058238fcfcd4074f1a6.zip
Rename gnat/bug directories for non-gna bugs to avoid confusion.
Diffstat (limited to 'testsuite/gna/bug014/bug.vhdl')
-rw-r--r--testsuite/gna/bug014/bug.vhdl15
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;