aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug055/gen2.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug055/gen2.vhdl')
-rw-r--r--testsuite/gna/bug055/gen2.vhdl5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/gna/bug055/gen2.vhdl b/testsuite/gna/bug055/gen2.vhdl
new file mode 100644
index 000000000..e7c7efe1a
--- /dev/null
+++ b/testsuite/gna/bug055/gen2.vhdl
@@ -0,0 +1,5 @@
+package gen2 is
+ generic (package pkg is new work.gen1 generic map (<>));
+
+ function get2 return natural;
+end gen2;