aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug055/gen2-body.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug055/gen2-body.vhdl')
-rw-r--r--testsuite/gna/bug055/gen2-body.vhdl8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/gna/bug055/gen2-body.vhdl b/testsuite/gna/bug055/gen2-body.vhdl
new file mode 100644
index 000000000..372a71645
--- /dev/null
+++ b/testsuite/gna/bug055/gen2-body.vhdl
@@ -0,0 +1,8 @@
+package body gen2 is
+ use pkg.all;
+
+ function get2 return natural is
+ begin
+ return get;
+ end get2;
+end gen2;