aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue2070/crash29_2.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue2070/crash29_2.vhdl')
-rw-r--r--testsuite/gna/issue2070/crash29_2.vhdl27
1 files changed, 27 insertions, 0 deletions
diff --git a/testsuite/gna/issue2070/crash29_2.vhdl b/testsuite/gna/issue2070/crash29_2.vhdl
new file mode 100644
index 000000000..1c9a979bb
--- /dev/null
+++ b/testsuite/gna/issue2070/crash29_2.vhdl
@@ -0,0 +1,27 @@
+package n is
+ function t return n;
+end;
+package body n is
+ function get return l is
+ begin
+ end get;
+end;
+
+package n is
+ generic(package g is new w generic map(<>));
+ function t return l;
+end;
+
+package body gen0 is
+ use p;
+ function g return l is
+ begin
+ end;
+end gen0;
+
+package b is
+end;
+
+architecture beha0 of b is
+begin
+end beha0;